From 009f1d1aba1b72ce7483b7d804d96f5cc18db87c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 5 Mar 2011 12:53:28 +0000 Subject: [PATCH] Better debug lines --- .../main/resolver/controller/class_BaseControllerResolver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())) { -- 2.39.5