forked from Cavemanon/cavepaintings
ignore symlinks in bulk add, stops recursion
git-svn-id: file:///home/shish/svn/shimmie2/trunk@640 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -51,7 +51,10 @@ class ArchiveFileHandler extends Extension {
|
||||
while($filename = readdir($dir)) {
|
||||
$fullpath = "$base/$subdir/$filename";
|
||||
|
||||
if(is_dir($fullpath)) {
|
||||
if(is_link($fullpath)) {
|
||||
// ignore
|
||||
}
|
||||
else if(is_dir($fullpath)) {
|
||||
if($filename[0] != ".") {
|
||||
$this->add_dir($base, "$subdir/$filename");
|
||||
}
|
||||
|
Reference in New Issue
Block a user