We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8895e6 commit b8d1149Copy full SHA for b8d1149
1 file changed
system/Helpers/filesystem_helper.php
@@ -218,6 +218,7 @@ function get_filenames(string $source_dir, bool $include_path = false): array
218
{
219
$files = [];
220
221
+ $source_dir = realpath($source_dir) ?: $source_dir;
222
$source_dir = rtrim($source_dir, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
223
224
try
0 commit comments