|
|
|
@ -331,6 +331,9 @@ class Pico { |
|
|
|
|
$array_items = array(); |
|
|
|
|
if($handle = opendir($directory)){ |
|
|
|
|
while(false !== ($file = readdir($handle))){ |
|
|
|
|
if(in_array(substr($file, -1), array('~', '#'))){ |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
if(preg_match("/^(^\.)/", $file) === 0){ |
|
|
|
|
if(is_dir($directory. "/" . $file)){ |
|
|
|
|
$array_items = array_merge($array_items, $this->get_files($directory. "/" . $file, $ext)); |
|
|
|
|