mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-02 23:03:59 +01:00
Update settings-common.php
This commit is contained in:
@@ -190,7 +190,7 @@ function getVersionsCount($fileLoc,$fileName) {
|
||||
$backupDirBase = str_replace("\\","/",dirname(__FILE__))."/../backups/";
|
||||
$backupDirHost = isset($ftpSite) ? parse_url($ftpSite,PHP_URL_HOST) : "localhost";
|
||||
// check if folder exists if local before enumerating contents
|
||||
if(!isset($ftpsite)) {
|
||||
if(!isset($ftpSite)) {
|
||||
if(file_exists($backupDirBase.$backupDirHost) && is_dir($backupDirBase.$backupDirHost)) {
|
||||
$backupDateDirs = scandir($backupDirBase.$backupDirHost,1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user