mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正File类
This commit is contained in:
@@ -91,7 +91,7 @@ class File extends SplFileObject
|
|||||||
$savename = $this->getSaveName($savename);
|
$savename = $this->getSaveName($savename);
|
||||||
|
|
||||||
// 检测目录
|
// 检测目录
|
||||||
if (false === $this->checkPath(dirname($path . $savname))) {
|
if (false === $this->checkPath(dirname($path . $savename))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user