Now by default with news due to deprecation of 'page_with_news'
[core.git] / inc / classes / main / resolver / controller / web / class_WebControllerResolver.php
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";