Viewing File: /people/testlab/www/testlab.com.pl/_old/lib/MySmarty.class.inc.php

<?php

 require_once $DIR['smarty']."/Smarty.class.php";
 
// smarty configuration
class MySmarty extends Smarty { 
    function MySmarty($_DIR) {
		$this->Smarty();		
		
        $this->template_dir = $_DIR['smarty_templates'];
        $this->compile_dir = $_DIR['smarty'] . '/templates_c';
        $this->config_dir = $_DIR['smarty'] . '/configs';
        $this->cache_dir = $_DIR['smarty'] . '/cache';
		
		$this->caching = false;		
		$this->assign('app_name','Testlab');		
    }
} 
 
?>
Back to Directory File Manager