From: Roland Häder Date: Sat, 18 Jul 2009 07:36:57 +0000 (+0000) Subject: Now by default with news due to deprecation of 'page_with_news' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa7ec363e1fd2d22ddda871d6c36cd78b753692c;p=core.git Now by default with news due to deprecation of 'page_with_news' --- diff --git a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php index 39f2c672..f5cbe43f 100644 --- a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php +++ b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php @@ -127,7 +127,7 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro $controllerInstance = null; // Default controller - $this->setClassName('ConsoleDefaultController'); + $this->setClassName('ConsoleDefaultNewsController'); // Generate the class name //* DEBUG: */ echo __METHOD__.": Controller=".$controllerName; @@ -139,7 +139,7 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro $this->setClassName($className); } else { // No news at main command or non-news command - $this->setClassName('ConsoleDefaultController'); + $this->setClassName('ConsoleDefaultNewsController'); } //* DEBUG: */ echo ", controller=".$this->getClassName()."
\n"; diff --git a/inc/classes/main/resolver/controller/web/class_WebControllerResolver.php b/inc/classes/main/resolver/controller/web/class_WebControllerResolver.php index a3084103..a941f53c 100644 --- a/inc/classes/main/resolver/controller/web/class_WebControllerResolver.php +++ b/inc/classes/main/resolver/controller/web/class_WebControllerResolver.php @@ -127,7 +127,7 @@ class WebControllerResolver extends BaseControllerResolver implements Controller $controllerInstance = null; // Default controller - $this->setClassName('WebDefaultController'); + $this->setClassName('WebDefaultNewsController'); // Generate the class name //* DEBUG: */ echo __METHOD__.": Controller=".$controllerName; @@ -139,7 +139,7 @@ class WebControllerResolver extends BaseControllerResolver implements Controller $this->setClassName($className); } else { // No news at home page or non-news page - $this->setClassName('WebDefaultController'); + $this->setClassName('WebDefaultNewsController'); } //* DEBUG: */ echo ", controller=".$this->getClassName()."
\n";