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