mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
backup/Nextcloud: merge https://github.com/opnsense/core/pull/3503 without gettext()
This commit is contained in:
parent
7c43c8be36
commit
651284ea47
@ -139,7 +139,7 @@ class Nextcloud extends Base implements IBackupProvider
|
||||
$backupdir = (string)$nextcloud->backupdir;
|
||||
$crypto_password = (string)$nextcloud->password_encryption;
|
||||
$hostname = $config->system->hostname . '.' . $config->system->domain;
|
||||
$configname = 'config-' . $hostname . '-' . date("Y-m-d_H:i:s") . '.xml';
|
||||
$configname = 'config-' . $hostname . '-' . date('Y-m-d_H_i_s') . '.xml';
|
||||
// backup source data to local strings (plain/encrypted)
|
||||
$confdata = file_get_contents('/conf/config.xml');
|
||||
if (!empty($crypto_password)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user