diff options
author | Ronald Beilsma <beilsma@gmail.com> | 2012-01-10 15:59:06 +0100 |
---|---|---|
committer | Ronald Beilsma <beilsma@gmail.com> | 2012-01-10 15:59:06 +0100 |
commit | 57f58a27df738408a06307442a9a344414e90016 (patch) | |
tree | f6ec44dceb8715e5c8ea0b8fa41f0b3293f96693 /system/helpers/file_helper.php | |
parent | 25dcb93d05bd098e89188ea0691adf72228bd131 (diff) |
closedir closes directory handle, not directory path
Diffstat (limited to 'system/helpers/file_helper.php')
-rw-r--r-- | system/helpers/file_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index 9b39b8c20..d76d85691 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -205,7 +205,7 @@ if ( ! function_exists('get_filenames')) $_filedata[] = ($include_path == TRUE) ? $source_dir.$file : $file; } } - closedir($source_dir); + closedir($fp); return $_filedata; } |