diff options
author | Andrey Andreev <narf@devilix.net> | 2022-01-08 20:48:42 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2022-01-08 20:48:42 +0100 |
commit | e2caa77d0afa700adf9bfa029c453ea59f1e368d (patch) | |
tree | 10f6d11bc7f7cca600e04df445dd8b732c0024a6 /system/helpers/file_helper.php | |
parent | 0f7525b6d8ab426b6e973ebb177f96159aec69a4 (diff) |
Fix #92
Diffstat (limited to 'system/helpers/file_helper.php')
-rw-r--r-- | system/helpers/file_helper.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index 398d11afd..c3b35d96d 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -227,8 +227,9 @@ if ( ! function_exists('get_dir_file_info')) } elseif ($file[0] !== '.') { - $_filedata[$file] = get_file_info($source_dir.$file); - $_filedata[$file]['relative_path'] = $relative_path; + $filedata = get_dir_file_info($source_dir.$file); + $filedata['relative_path'] = $relative_path; + $_filedata[] = $filedata; } } |