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