2011-09-05, 05:25:07
It seems that admin/zip.php (in line 48) also tests if <GS_ROOT>/.. is a directory, which can fail in very restrictive environments.
The following patch fixed the problem:
The following patch fixed the problem:
Code:
if ( strstr($dir, $GSADMIN.'/') || strstr($dir, 'backups/')) {
#don't archive these folders
} else if ($element->getFilename() != '..') { // FIX: if added to ignore parent directories
if ($element->isDir()) {