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;
    }