Smarty(); $this->template_dir = LUDAP_DIR."templates"; $this->compile_dir = SMARTY_DIR."tmp/templates_c"; $this->config_dir = LUDAP_DIR."etc"; $this->plugins_dir = array(SMARTY_DIR."plugins"); $this->caching = 0; $this->cache_dir = SMARTY_DIR."tmp/cache"; $this->cache_lifetime = -1; $this->cache_modified_check = true; $this->php_handling = SMARTY_PHP_ALLOW; $this->compile_id = ""; #$this->_smarty_debug_id = 'dbg'; // compile_check & force_compile // = false au passage en prod $this->compile_check = true; $this->force_compile = false; // debugging = false au passage en prod $this->debugging = false; $this->debug_tpl = ""; $this->debugging_ctrl = "URL"; $this->assign('app_name','LuDAP'); } } $S = new Smarty_ludap; $C = new Config_File($S->config_dir); $C->boolean = true; $C->overwrite = true; ?>