修正Merge类 改进File类

This commit is contained in:
thinkphp
2016-06-07 10:46:05 +08:00
parent b06bee1b0a
commit 71bcc1bb7b
2 changed files with 5 additions and 3 deletions

View File

@@ -106,6 +106,7 @@ class File extends SplFileObject
return false;
}
$path = rtrim($path, DS) . DS;
// 文件保存命名规则
$savename = $this->getSaveName($savename);