diff --git a/core/core.php b/core/core.php index 8cb786a7..3c471a1d 100644 --- a/core/core.php +++ b/core/core.php @@ -1362,6 +1362,7 @@ class common { // Options de barre de membre simple $this->setData(['config','page404','none']); $this->setData(['config','page403','none']); + $this->setData(['config','page302','none']); // Module de recherche // Suppression du dossier search if (is_dir('core/module/search')) { @@ -1403,6 +1404,17 @@ class common { // Mise à jour du numéro de version $this->setData(['core', 'dataVersion', 10300]); } + // Version 10.3.01 + if ($this->getData(['core', 'dataVersion']) < 10301) { + // Inscription des nouvelles variables + if ($this->getData(['config','searchPageId']) === '') { + $this->setData(['config','searchPageId','none']); + } + if ($this->getData(['config','legalPageId']) === '') { + $this->setData(['config','legalPageId','none']); + } + $this->setData(['core', 'dataVersion', 10301]); + } } }