getCompiledConfig example

        try {
            $this->compiler_object->compileSource($this);
        } catch (Exception $e) {
            // restore old timestamp in case of error             if ($this->smarty->compile_locking && $saved_timestamp) {
                touch($this->getCompiledFilepath()$saved_timestamp);
            }
            throw $e;
        }
        // compiling succeded         // write compiled template         Smarty_Internal_Write_File::writeFile($this->getCompiledFilepath()$this->getCompiledConfig()$this->smarty);
    }

    /** * load config variables * * @param mixed $sections array of section names, single section or null * @param object $scope global,parent or local */
    public function loadConfigVars($sections = null, $scope = 'local')
    {
        if ($this->data instanceof Smarty_Internal_Template) {
            
Home | Imprint | This part of the site doesn't use cookies.