if (class_exists($this->getClassName())) {
// This class does exist. :-)
$isValid = true;
- } elseif (($this->getClassName() != $this->controllerPrefix.'DefaultController') && ($this->getClassName() != $this->controllerPrefix.'DefaultNewsController')) {
+ } elseif ($this->getClassName() != $this->controllerPrefix.'DefaultNewsController') {
// Set default controller
- $this->setClassName($this->controllerPrefix . 'DefaultController');
+ $this->setClassName($this->controllerPrefix . 'DefaultNewsController');
} else {
// All is tried, give it up here
throw new DefaultControllerException($this, self::EXCEPTION_DEFAULT_CONTROLLER_GONE);