fixed plugin updating
This commit is contained in:
1 parent
47c7a69e5d
commit
fb079f6f2e
2 files changed
+4
-4
No files matched your search
@@ -33,7 +33,7 @@ abstract class BackupUtil {
|
||||
$parentPath = $pathInfo['dirname'] . '/';
|
||||
$dirName = $pathInfo['basename'];
|
||||
$backupZip->addEmptyDir($dirName);
|
||||
$this->zipDirectory($backupZip, ManiaControlDir, strlen($parentPath), $excludes);
|
||||
self::zipDirectory($backupZip, ManiaControlDir, strlen($parentPath), $excludes);
|
||||
$backupZip->close();
|
||||
return true;
|
||||
}
|
||||
@@ -56,7 +56,7 @@ abstract class BackupUtil {
|
||||
$parentPath = $pathInfo['dirname'] . '/';
|
||||
$dirName = $pathInfo['basename'];
|
||||
$backupZip->addEmptyDir($dirName);
|
||||
$this->zipDirectory($backupZip, ManiaControlDir . '/plugins', strlen($parentPath), $excludes);
|
||||
self::zipDirectory($backupZip, ManiaControlDir . '/plugins', strlen($parentPath), $excludes);
|
||||
$backupZip->close();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user