forked from ZwiiCMS-Team/ZwiiCMS
10400 #1
@ -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 = [];
|
||||
|
@ -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'),
|
||||
|
@ -103,7 +103,7 @@
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('configAdvancedFileBackup', true, 'Copie de sauvegarde', [
|
||||
'checked' => $this->getData(['config', 'fileBackup']),
|
||||
'checked' => file_exists('site/data/.backup'),
|
||||
'help' => '<p>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.</p>'
|
||||
]); ?>
|
||||
</div>
|
||||
|
@ -4,7 +4,6 @@ class init extends common {
|
||||
'config' => [
|
||||
'analyticsId' => '',
|
||||
'autoBackup' => true,
|
||||
'fileBackup' => true,
|
||||
'autoUpdate' => true,
|
||||
'autoUpdateHtaccess' => false,
|
||||
'cookieConsent' => true,
|
||||
|
Loading…
Reference in New Issue
Block a user