[limb-svn] r5926 - 3.x/trunk/limb/web_app/src/toolkit

svn at limb-project.com svn at limb-project.com
Fri Jun 1 11:49:04 MSD 2007


Author: pachanga
Date: 2007-06-01 11:49:04 +0400 (Fri, 01 Jun 2007)
New Revision: 5926
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5926

Modified:
   3.x/trunk/limb/web_app/src/toolkit/lmbWebAppTools.class.php
Log:
-- lmbWactView :: __construct() now accepts template path not cache dir, cache dir should be passed via setCacheDir()

Modified: 3.x/trunk/limb/web_app/src/toolkit/lmbWebAppTools.class.php
===================================================================
--- 3.x/trunk/limb/web_app/src/toolkit/lmbWebAppTools.class.php	2007-06-01 07:30:17 UTC (rev 5925)
+++ 3.x/trunk/limb/web_app/src/toolkit/lmbWebAppTools.class.php	2007-06-01 07:49:04 UTC (rev 5926)
@@ -48,7 +48,8 @@
       return $this->view;
 
     lmb_require('limb/view/src/lmbWactView.class.php');
-    $this->view = new lmbWactView(LIMB_VAR_DIR . '/compiled/');
+    $this->view = new lmbWactView();
+    $this->view->setCacheDir(LIMB_VAR_DIR . '/compiled/');
 
     return $this->view;
   }



More information about the limb-svn mailing list