*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
$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())) {