forked from halo-battle/game
Update Smarty to v2.6.31 (fix compatibility with PHP 7.2)
This commit is contained in:
parent
aebcb5b82b
commit
f88f9499d0
400 changed files with 3366 additions and 49622 deletions
|
|
@ -13,17 +13,15 @@ define('_TEMPLATE_CACHE',ONYX.$OPT['cache']);
|
|||
|
||||
class Template extends Smarty
|
||||
{
|
||||
//var $compile_check = false;
|
||||
//var $force_compile = true;
|
||||
var $template_dir = _TEMPLATE_DIR;
|
||||
var $compile_dir = _TEMPLATE_COMPILE;
|
||||
var $config_dir = _TEMPLATE_CONFIG;
|
||||
var $cache_dir = _TEMPLATE_CACHE;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->setTemplateDir(_TEMPLATE_DIR);
|
||||
$this->setCompileDir(_TEMPLATE_COMPILE);
|
||||
$this->setCacheDir(_TEMPLATE_CACHE);
|
||||
//SetCONFIGDIR !
|
||||
}
|
||||
var $compile_check = false;
|
||||
var $force_compile = true;
|
||||
|
||||
function set_template($i = null) {}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue