diff --git a/core/core.php b/core/core.php index 7b08cac5..738b4fa8 100755 --- a/core/core.php +++ b/core/core.php @@ -44,7 +44,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.4.00.012'; + const ZWII_VERSION = '10.4.00.013'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/module/config/config.php b/core/module/config/config.php index 04e381aa..85f34738 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -485,7 +485,6 @@ class config extends common { [ 'analyticsId' => $this->getInput('configAdvancedAnalyticsId'), 'autoBackup' => $this->getInput('configAdvancedAutoBackup', helper::FILTER_BOOLEAN), - 'fileBackup' => $this->getInput('configAdvancedFileBackup', helper::FILTER_BOOLEAN), 'maintenance' => $this->getInput('configAdvancedMaintenance', helper::FILTER_BOOLEAN), 'cookieConsent' => $this->getInput('configAdvancedCookieConsent', helper::FILTER_BOOLEAN), 'favicon' => $this->getInput('configAdvancedFavicon'), diff --git a/core/module/config/view/advanced/advanced.php b/core/module/config/view/advanced/advanced.php index 7bcd6a4a..06718e43 100644 --- a/core/module/config/view/advanced/advanced.php +++ b/core/module/config/view/advanced/advanced.php @@ -103,7 +103,7 @@
$this->getData(['config', 'fileBackup']), + 'checked' => file_exists('site/data/.backup'), 'help' => '

Un fichier .backup.json est généré à chaque édition ou effacement d\'une donnée. La désactivation entraîne la suppression de ces fichiers.

' ]); ?>
diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 3527fa2a..c6ef26dd 100755 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -4,7 +4,6 @@ class init extends common { 'config' => [ 'analyticsId' => '', 'autoBackup' => true, - 'fileBackup' => true, 'autoUpdate' => true, 'autoUpdateHtaccess' => false, 'cookieConsent' => true,