diff options
-rw-r--r-- | system/helpers/directory_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/directory_helper.php b/system/helpers/directory_helper.php index 81ffd1579..6f9251720 100644 --- a/system/helpers/directory_helper.php +++ b/system/helpers/directory_helper.php @@ -69,7 +69,7 @@ if ( ! function_exists('directory_map')) continue; } - @is_dir($source_dir.$file) AND $file .= DIRECTORY_SEPARATOR; + @is_dir($source_dir.$file) && $file .= DIRECTORY_SEPARATOR; if (($directory_depth < 1 OR $new_depth > 0) && @is_dir($source_dir.$file)) { |