From: Roland Häder Date: Sat, 5 Mar 2011 12:53:28 +0000 (+0000) Subject: Better debug lines X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=009f1d1aba1b72ce7483b7d804d96f5cc18db87c;p=core.git Better debug lines --- diff --git a/inc/classes/main/resolver/controller/class_BaseControllerResolver.php b/inc/classes/main/resolver/controller/class_BaseControllerResolver.php index 3cef50bb..b6b927f6 100644 --- a/inc/classes/main/resolver/controller/class_BaseControllerResolver.php +++ b/inc/classes/main/resolver/controller/class_BaseControllerResolver.php @@ -78,7 +78,7 @@ class BaseControllerResolver extends BaseResolver { $this->setClassName($this->getClassPrefix() . 'DefaultNewsController'); // Generate the class name - //* DEBUG: */ echo __METHOD__.": Controller=".$controllerName; + //* DEBUG: */ $this->debugOutput('BEFORE: controller=' . $controllerName); if ($controllerName != $defaultController) { // Create controller class name $className = $this->getClassPrefix() . $this->convertToClassName($controllerName) . 'Controller'; @@ -89,7 +89,7 @@ class BaseControllerResolver extends BaseResolver { // No news at main command or non-news command $this->setClassName($this->getClassPrefix() . 'DefaultNewsController'); } - //* DEBUG: */ echo ", controller=".$this->getClassName()."
\n"; + //* DEBUG: */ $this->debugOutput('AFTER: controller=' . $this->getClassName()); // Is this class loaded? if (!class_exists($this->getClassName())) {