add config backup ftp/sftp default value

This commit is contained in:
xiaomlove
2022-05-12 20:15:09 +08:00
parent 7e9efd14df
commit 2f5b643c6e
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -136,6 +136,8 @@ class ToolRepository extends BaseRepository
do_log("[BACKUP_ALL_DONE]: " . json_encode($backupResult));
return $backupResult;
}
private function saveToGoogleDrive(array $setting, $filename): bool|string
+2
View File
@@ -394,6 +394,8 @@ return array (
'google_drive_client_secret' => '',
'google_drive_refresh_token' => '',
'google_drive_folder_id' => '',
'via_ftp' => 'no',
'via_sftp' => 'no',
),
'hr' => [
'mode' => HitAndRun::MODE_DISABLED,