mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修复一处变量错误命名
This commit is contained in:
@@ -29,7 +29,6 @@ class File extends SplFileObject
|
||||
*/
|
||||
protected function checkPath($path)
|
||||
{
|
||||
|
||||
if (is_dir($path)) {
|
||||
return true;
|
||||
}
|
||||
@@ -37,7 +36,7 @@ class File extends SplFileObject
|
||||
if (mkdir($path, 0777, true)) {
|
||||
return true;
|
||||
} else {
|
||||
$this->error = "目录 {$savepath} 创建失败!";
|
||||
$this->error = "目录 {$path} 创建失败!";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user