mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
add config backup ftp/sftp default value
This commit is contained in:
@@ -136,6 +136,8 @@ class ToolRepository extends BaseRepository
|
|||||||
|
|
||||||
do_log("[BACKUP_ALL_DONE]: " . json_encode($backupResult));
|
do_log("[BACKUP_ALL_DONE]: " . json_encode($backupResult));
|
||||||
|
|
||||||
|
return $backupResult;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function saveToGoogleDrive(array $setting, $filename): bool|string
|
private function saveToGoogleDrive(array $setting, $filename): bool|string
|
||||||
|
|||||||
@@ -394,6 +394,8 @@ return array (
|
|||||||
'google_drive_client_secret' => '',
|
'google_drive_client_secret' => '',
|
||||||
'google_drive_refresh_token' => '',
|
'google_drive_refresh_token' => '',
|
||||||
'google_drive_folder_id' => '',
|
'google_drive_folder_id' => '',
|
||||||
|
'via_ftp' => 'no',
|
||||||
|
'via_sftp' => 'no',
|
||||||
),
|
),
|
||||||
'hr' => [
|
'hr' => [
|
||||||
'mode' => HitAndRun::MODE_DISABLED,
|
'mode' => HitAndRun::MODE_DISABLED,
|
||||||
|
|||||||
Reference in New Issue
Block a user