修复一处变量错误命名

This commit is contained in:
尘缘
2016-05-08 07:29:26 +08:00
parent 2862f07ce9
commit 8410162e3a

View File

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