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) {
            // 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);
    }
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) {
            // 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);
    }
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 ) { // 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 ) ; }
Compiles the config files

@throws Exception
Compiles the config files