forked from ZwiiCMS-Team/ZwiiCMS
Modif var backup
This commit is contained in:
parent
b3f58afb33
commit
432ded6bf6
@ -219,7 +219,7 @@ class config extends common {
|
||||
foreach ($files as $name => $file) {
|
||||
if (!$file->isDir()) {
|
||||
$filePath = $file->getRealPath();
|
||||
$relativePath = substr($filePath, strlen(realpath('site/')) + 1);
|
||||
$relativePath = substr($filePath, strlen(realpath($directory)) + 1);
|
||||
$zip->addFile($filePath, $relativePath);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user