mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进File类
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace think;
|
||||
|
||||
use SplFileInfo;
|
||||
use SplFileObject;
|
||||
|
||||
class File extends SplFileObject
|
||||
@@ -157,7 +158,7 @@ class File extends SplFileObject
|
||||
return false;
|
||||
}
|
||||
|
||||
return new \SplFileInfo($path . $savename);
|
||||
return new SplFileInfo($path . $savename);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user