]> git.mxchange.org Git - core.git/commitdiff
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 39f2c672029fa3238afb5f54f50f50a5a8b0cc20..f5cbe43f18c7849a01a806011b74749ff136a835 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 a3084103a9c9ea9b328a761fc8aa1032d16ce203..a941f53c2309c7cb6991779847491f0c7fc3408e 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";