Data dir holds backup dir now

This commit is contained in:
Matt Pass
2019-08-18 18:25:41 +01:00
committed by GitHub
parent a4591ce949
commit f0f679c1fb

View File

@@ -359,7 +359,7 @@ if (!$error && $_GET['action']=="save") {
$backupDirFormat = "Y-m-d";
// Establish the base, host and date dir parts...
$backupDirBase = str_replace("\\","/",dirname(__FILE__))."/../backups/";
$backupDirBase = str_replace("\\","/",dirname(__FILE__))."/../data/backups/";
$backupDirHost = isset($ftpSite) ? parse_url($ftpSite,PHP_URL_HOST) : "localhost";
$backupDirDate = date($backupDirFormat);