diff --git a/system/storage.php b/system/storage.php index 6781979..e666244 100644 --- a/system/storage.php +++ b/system/storage.php @@ -159,7 +159,7 @@ function retrieve_storage_files($type, $recursive=false, $excludes=array(".", ". if(is_dir($storage_path)) { if($handle = opendir($storage_path)) { while(false !== ($file = readdir($handle))) { - if(!in_array($file, $exclude) { + if(!in_array($file, $exclude)) { $file_path = $storage_path . "/" . $file; if(is_file($file_path)) { $files[] = $file_path;