private function init()
    {
        if (!is_dir($this->options['path'])) {
            if (mkdir($this->options['path'], 0755, true) && chmod($this->options['path'], 0755)) {
                return true;
            }
        }

        if (!is_writeable($this->options['path'])) {
            throw new CacheException('Cache Path: '.$this->options['path'].' is not writable');
        }

        return false;
    }
private function init()
    {
        if (!is_dir($this->options['path'])) {
            if (mkdir($this->options['path'], 0755, true) && chmod($this->options['path'], 0755)) {
                return true;
            }
        }

        if (!is_writeable($this->options['path'])) {
            throw new CacheException('Cache Path: '.$this->options['path'].' is not writable');
        }

        return false;
    }
private function init ( ) { if ( ! is_dir ( $ this -> options [ 'path' ] ) ) { if ( mkdir ( $ this -> options [ 'path' ] , 0755 , true ) && chmod ( $ this -> options [ 'path' ] , 0755 ) ) { return true ; } } if ( ! is_writeable ( $ this -> options [ 'path' ] ) ) { throw new CacheException ( 'Cache Path: ' . $ this -> options [ 'path' ] . ' is not writable' ) ; } return false ; }
Init cache file path.
@author : evalor <master@evalor.cn>
@throws CacheException
@return bool
Init cache file path .