CacheFile::init PHP Method

init() private method

初始化检查
private init ( ) : boolen
return boolen
    private function init()
    {
        $stat = @stat($this->options['temp']);
        $dir_perms = $stat['mode'] & 07777;
        // Get the permission bits.
        $file_perms = $dir_perms & 0777;
        // Remove execute bits for files.
        // // 创建项目缓存目录
        // if (!is_dir($this->options['temp'])) {
        //     if (!  mkdir($this->options['temp']))
        //         return false;
        //      chmod($this->options['temp'], $dir_perms);
        // }
    }