Update storage.php

This commit is contained in:
Namhyeon Go 2018-05-26 02:05:01 +09:00 committed by GitHub
parent 678bec80ec
commit f7c569403d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ if(!function_exists("retrieve_storage_files")) {
if(is_dir($storage_path)) {
if($handle = opendir($storage_path)) {
while(false !== ($file = readdir($handle))) {
if(!in_array($file, $exclude)) {
if(!in_array($file, $excludes)) {
$file_path = $storage_path . "/" . $file;
if(is_file($file_path)) {
$files[] = $file_path;