Smarty_Internal_Config_File_Compiler example

/** * Compiles the config files * * @throws Exception */
    public function compileConfigSource()
    {
        // compile template         if (!is_object($this->compiler_object)) {
            // load compiler             $this->compiler_object = new Smarty_Internal_Config_File_Compiler($this->smarty);
        }
        // compile locking         if ($this->smarty->compile_locking) {
            if ($saved_timestamp = $this->getCompiledTimestamp()) {
                touch($this->getCompiledFilepath());
            }
        }
        // call compiler         try {
            $this->compiler_object->compileSource($this);
        } catch (Exception $e) {
            
Home | Imprint | This part of the site doesn't use cookies.