[limb-svn] r6743 - 3.x/trunk/limb/web_app/src/controller

svn at limb-project.com svn at limb-project.com
Thu Jan 24 19:07:15 MSK 2008


Author: serega
Date: 2008-01-24 19:07:15 +0300 (Thu, 24 Jan 2008)
New Revision: 6743
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6743

Modified:
   3.x/trunk/limb/web_app/src/controller/NotFoundController.class.php
Log:
-- NotFoundController now uses _findTemplateByAlias() for guessing template name.

Modified: 3.x/trunk/limb/web_app/src/controller/NotFoundController.class.php
===================================================================
--- 3.x/trunk/limb/web_app/src/controller/NotFoundController.class.php	2008-01-24 15:54:25 UTC (rev 6742)
+++ 3.x/trunk/limb/web_app/src/controller/NotFoundController.class.php	2008-01-24 16:07:15 UTC (rev 6743)
@@ -20,8 +20,7 @@
   function doDisplay()
   {
     $this->response->header('HTTP/1.x 404 Not Found');
-    $this->resetView();
-    $this->setTemplate('not_found.html');
+    $this->setTemplate($this->_findTemplateByAlias('not_found'));
   }
 }
 



More information about the limb-svn mailing list