fixed $this in static methods
This commit is contained in:
@ -101,7 +101,7 @@ abstract class BackupUtil {
|
||||
}
|
||||
if (is_dir($filePath)) {
|
||||
$zipArchive->addEmptyDir($localPath);
|
||||
$this->zipDirectory($zipArchive, $filePath, $prefixLength, $excludes);
|
||||
self::zipDirectory($zipArchive, $filePath, $prefixLength, $excludes);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user