Now by default with news due to deprecation of 'page_with_news'
authorRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 07:36:57 +0000 (07:36 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 07:36:57 +0000 (07:36 +0000)
inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php
inc/classes/main/resolver/controller/web/class_WebControllerResolver.php

index 39f2c67..f5cbe43 100644 (file)
@@ -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()."<br />\n";
 
index a308410..a941f53 100644 (file)
@@ -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()."<br />\n";