## 目录(文件夹)的创建
~~~
Files::mkdir(TMP_ROOT . 'PKFrame');
~~~
注释:TMP_ROOT 是缓存路径
## 目录(文件夹)的清空
~~~
Files::remove(TMP_ROOT . 'PKFrame' . DS);
~~~
## 目录(文件夹)的浏览
~~~
$path_arr = Files::opendir(TMP_ROOT);
print_r($path_arr);
~~~
返回结果:
~~~
Array
(
[0] => 1.xls
[1] => 1.xlsx
[2] => 2.xlsx
[logs] => Array
(
[0] => error.log
[1] => os_time.log
)
)
~~~