$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';
// 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())) {