mirror of https://github.com/itflow-org/itflow
Fix Broken Restore from Backup on Setup Page
This commit is contained in:
parent
565f9ab314
commit
ce832d2805
|
|
@ -203,7 +203,7 @@ if (isset($_POST['restore'])) {
|
|||
}
|
||||
|
||||
// === 5. Restore uploads directory ===
|
||||
$uploadDir = __DIR__ . "../uploads/";
|
||||
$uploadDir = __DIR__ . "/../uploads/";
|
||||
$uploadsZip = "$tempDir/uploads.zip";
|
||||
|
||||
if (file_exists($uploadsZip)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue