Update storage.php
This commit is contained in:
parent
8eb7bf9ef3
commit
28b426e304
|
@ -159,7 +159,7 @@ function retrieve_storage_files($type, $recursive=false, $excludes=array(".", ".
|
||||||
if(is_dir($storage_path)) {
|
if(is_dir($storage_path)) {
|
||||||
if($handle = opendir($storage_path)) {
|
if($handle = opendir($storage_path)) {
|
||||||
while(false !== ($file = readdir($handle))) {
|
while(false !== ($file = readdir($handle))) {
|
||||||
if(!in_array($file, $exclude) {
|
if(!in_array($file, $exclude)) {
|
||||||
$file_path = $storage_path . "/" . $file;
|
$file_path = $storage_path . "/" . $file;
|
||||||
if(is_file($file_path)) {
|
if(is_file($file_path)) {
|
||||||
$files[] = $file_path;
|
$files[] = $file_path;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user