rm log
This commit is contained in:
parent
8279ec5f88
commit
9f2cda4930
@ -32,10 +32,8 @@
|
|||||||
*/
|
*/
|
||||||
function getFileListRecursive($dir, $displayDir=null) {
|
function getFileListRecursive($dir, $displayDir=null) {
|
||||||
$filesAndDirs = scandir($dir);
|
$filesAndDirs = scandir($dir);
|
||||||
error_log(json_encode($filesAndDirs));
|
|
||||||
$files = [];
|
$files = [];
|
||||||
foreach ($filesAndDirs as $file) {
|
foreach ($filesAndDirs as $file) {
|
||||||
error_log("getFileListRecursive: ".$dir);
|
|
||||||
if ($file == "." || $file == "..") { continue; }
|
if ($file == "." || $file == "..") { continue; }
|
||||||
if (is_dir($dir . $file)) {
|
if (is_dir($dir . $file)) {
|
||||||
$sub_files = getFileListRecursive($dir . $file . '/', $displayDir . $file . '/');
|
$sub_files = getFileListRecursive($dir . $file . '/', $displayDir . $file . '/');
|
||||||
|
Loading…
Reference in New Issue
Block a user