From aa7ec363e1fd2d22ddda871d6c36cd78b753692c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 18 Jul 2009 07:36:57 +0000 Subject: [PATCH] Now by default with news due to deprecation of 'page_with_news' --- .../controller/console/class_ConsoleControllerResolver.php | 4 ++-- .../resolver/controller/web/class_WebControllerResolver.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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"; -- 2.39.5