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