错误(检查链接)

时间:2016-04-28 13:36:53

标签: php

抱歉我的英语不好。我很年轻并且正在学习它。

检查http://www.tijmen.snaphost.nl/上的错误。我该如何解决?我已经检查过Google上的所有内容。

public function open($save_path, $name)
{
    if ( ! is_dir($save_path))
    {
        if ( ! mkdir($save_path, 0700, TRUE))
        {
            throw new Exception("Session: Configured save path '".$this->_config['save_path']."' is not a directory, doesn't exist or cannot be created.");
        }
    }
    elseif ( ! is_writable($save_path))
    {
        throw new Exception("Session: Configured save path '".$this->_config['save_path']."' is not writable by the PHP process.");
    }

    $this->_config['save_path'] = $save_path;
    $this->_file_path = $this->_config['save_path'].DIRECTORY_SEPARATOR
        .$name // we'll use the session cookie name as a prefix to avoid collisions
        .($this->_config['match_ip'] ? md5($_SERVER['REMOTE_ADDR']) : '');

    return TRUE;
}

0 个答案:

没有答案