public function __construct($tpl_path = '../tpl') { $this->tpl_path = $tpl_path; self::$global_tags = ['operationOpen' => '{@', 'operationClose' => '}', 'interpolateOpen' => '\\${', 'interpolateClose' => '}', 'noneencodeOpen' => '\\$\\${', 'noneencodeClose' => '}', 'commentOpen' => '\\{#', 'commentClose' => '\\}']; self::$global_options = ['cache' => true, 'strip' => true, 'errorhandling' => true, 'detection' => true]; $this->tagInit(); }