diff --git a/e107_handlers/shortcode_handler.php b/e107_handlers/shortcode_handler.php index 993738304..21e2dc45c 100644 --- a/e107_handlers/shortcode_handler.php +++ b/e107_handlers/shortcode_handler.php @@ -353,6 +353,7 @@ class e_parse_shortcode */ $path = null; + $manualCall = false; if(trim($className)==""){ return null; } @@ -450,6 +451,8 @@ class e_parse_shortcode if (is_readable($path)) { require_once($path); + // e107::getDebug()->log("Loading Class '".$className."' in ".$path.""); + if (class_exists($className, false)) // don't allow __autoload() { // register instance directly to allow override @@ -463,9 +466,9 @@ class e_parse_shortcode echo "