src/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_config.php
public function buildCompiledFilepath()
    {
        $_compile_id = isset($this->smarty->compile_id) ? preg_replace('![^\w\|]+!', '_', $this->smarty->compile_id) : null;
        $_flag = (int) $this->smarty->config_read_hidden + (int) $this->smarty->config_booleanize * 2
                + (int) $this->smarty->config_overwrite * 4;
        $_filepath = sha1($this->source->name . $_flag);
        // if use_sub_dirs, break file into directories
        if ($this->smarty->use_sub_dirs) {
            $_filepath = substr($_filepath, 0, 2) . DS
                    . substr($_filepath, 2, 2) . DS
                    . substr($_filepath, 4, 2) . DS
                    . $_filepath;
        }
        $_compile_dir_sep = $this->smarty->use_sub_dirs ? DS : '^';
        if (isset($_compile_id)) {
            $_filepath = $_compile_id . $_compile_dir_sep . $_filepath;
        }
        $_compile_dir = $this->smarty->getCompileDir();
        return $_compile_dir . $_filepath . '.' . basename($this->source->name) . '.config' . '.php';
    }
public function buildCompiledFilepath()
    {
        $_compile_id = isset($this->smarty->compile_id) ? preg_replace('![^\w\|]+!', '_', $this->smarty->compile_id) : null;
        $_flag = (int) $this->smarty->config_read_hidden + (int) $this->smarty->config_booleanize * 2
                + (int) $this->smarty->config_overwrite * 4;
        $_filepath = sha1($this->source->name . $_flag);
        // if use_sub_dirs, break file into directories
        if ($this->smarty->use_sub_dirs) {
            $_filepath = substr($_filepath, 0, 2) . DS
                    . substr($_filepath, 2, 2) . DS
                    . substr($_filepath, 4, 2) . DS
                    . $_filepath;
        }
        $_compile_dir_sep = $this->smarty->use_sub_dirs ? DS : '^';
        if (isset($_compile_id)) {
            $_filepath = $_compile_id . $_compile_dir_sep . $_filepath;
        }
        $_compile_dir = $this->smarty->getCompileDir();
        return $_compile_dir . $_filepath . '.' . basename($this->source->name) . '.config' . '.php';
    }
public function buildCompiledFilepath ( ) { $ _compile_id = isset ( $ this -> smarty -> compile_id ) ? preg_replace ( '![^\w\|]+!' , '_' , $ this -> smarty -> compile_id ) : null ; $ _flag = ( int ) $ this -> smarty -> config_read_hidden + ( int ) $ this -> smarty -> config_booleanize * 2 + ( int ) $ this -> smarty -> config_overwrite * 4 ; $ _filepath = sha1 ( $ this -> source -> name . $ _flag ) ; // if use_sub_dirs, break file into directories if ( $ this -> smarty -> use_sub_dirs ) { $ _filepath = substr ( $ _filepath , 0 , 2 ) . DS . substr ( $ _filepath , 2 , 2 ) . DS . substr ( $ _filepath , 4 , 2 ) . DS . $ _filepath ; } $ _compile_dir_sep = $ this -> smarty -> use_sub_dirs ? DS : '^' ; if ( isset ( $ _compile_id ) ) { $ _filepath = $ _compile_id . $ _compile_dir_sep . $ _filepath ; } $ _compile_dir = $ this -> smarty -> getCompileDir ( ) ; return $ _compile_dir . $ _filepath . '.' . basename ( $ this -> source -> name ) . '.config' . '.php' ; }
Get file path.

@return string
Get file path .