]> git.pld-linux.org Git - packages/CodeIgniter-lib-smarty.git/blobdiff - Smarty_tpl.php
- update to compatible with Smarty 3.1.x
[packages/CodeIgniter-lib-smarty.git] / Smarty_tpl.php
index d7d7839c8641228c7b0658bce15557d69c297eed..a21d3c937935df28433987606bb9043eca63b3cb 100644 (file)
@@ -10,18 +10,18 @@ class smarty_tpl extends Smarty {
     function smarty_tpl() {
         $this->Smarty();
         // templates folder
     function smarty_tpl() {
         $this->Smarty();
         // templates folder
-        $this->template_dir=    APPPATH."views/templates";
+        $this->setTemplateDir(APPPATH."views/templates");
         // compiled templates folder
         // compiled templates folder
-        $this->compile_dir=     APPPATH."views/templates_c";
+       $this->setCompileDir(APPPATH."views/templates_c");
         // cache folder
         // cache folder
-        $this->cache_dir=       APPPATH."views/cache";
+        $this->setCacheDir(APPPATH."views/cache");
         //config folder
         //config folder
-        $this->config_dir=      APPPATH."views/config";
+        $this->setConfigDir(APPPATH."views/config");
        //plugins folder
        //plugins folder
-       $this->plugins_dir = array(
+       $this->setPluginsDir(array(
                "/usr/share/php/Smarty3/plugins/",
                "/usr/share/php/Smarty3/sysplugins/"
                "/usr/share/php/Smarty3/plugins/",
                "/usr/share/php/Smarty3/sysplugins/"
-       );
+       ));
 
         // template recheck on
         $this->compile_check=   true;
 
         // template recheck on
         $this->compile_check=   true;
This page took 0.056803 seconds and 4 git commands to generate.