Commit a84dccf1 authored by jerry wham's avatar jerry wham
Browse files

Update prepend.php

parent 64c60a91
......@@ -525,7 +525,7 @@ class zip{
foreach($source as $item){
if (is_dir($item) === true){
$files = array_keys(iterator_to_array(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($item), RecursiveIteratorIterator::SELF_FIRST)));
foreach ($files as $key=>$file){
# Ignore "." and ".." folders
if( in_array(substr($file, strrpos($file, DS)+1), array('.', '..')) ){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment