system/libary/cache.php
/**
     * Load cached file content
     *
     * @return string|bool
     */
Load cached file content
@return string|bool
Load cached file content @return string|bool
private function _loadCache($filename = null)
    {
        if ($this->_getCacheDir() !== false) {
            if (file_exists($this->_getCacheDir($filename))) {
                $file = file_get_contents($this->_getCacheDir($filename));
                return json_decode($file, true);
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
private function _loadCache ( $ filename = null ) { if ( $ this -> _getCacheDir ( ) !== false ) { if ( file_exists ( $ this -> _getCacheDir ( $ filename ) ) ) { $ file = file_get_contents ( $ this -> _getCacheDir ( $ filename ) ) ; return json_decode ( $ file , true ) ; } else { return false ; } } else { return false ; } }
Load cached file content
 @return string|bool
Load cached file content @return string|bool