org\upload\driver\Qiniu::checkRootPath PHP Метод

checkRootPath() публичный Метод

检测上传根目录(七牛上传时支持自动创建目录,直接返回)
public checkRootPath ( string $rootpath ) : boolean
$rootpath string 根目录
Результат boolean true-检测通过,false-检测失败
    public function checkRootPath($rootpath)
    {
        $this->rootPath = trim($rootpath, './') . '/';
        return true;
    }