]> git.mxchange.org Git - core.git/commitdiff
Better debug lines
authorRoland Häder <roland@mxchange.org>
Sat, 5 Mar 2011 12:53:28 +0000 (12:53 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 5 Mar 2011 12:53:28 +0000 (12:53 +0000)
inc/classes/main/resolver/controller/class_BaseControllerResolver.php

index 3cef50bbeed71227f77a027e8a8740c6c41d83e0..b6b927f647c6b3eae12fb0fdb52128fa6357b914 100644 (file)
@@ -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()."<br />\n";
+               //* DEBUG: */ $this->debugOutput('AFTER: controller=' . $this->getClassName());
 
                // Is this class loaded?
                if (!class_exists($this->getClassName())) {