Browse Source

Mode maintenance : correctif lancement de commandes via la console

feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
9c1cb01f91
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      common/config/main.php
  2. +1
    -1
      common/config/params.php

+ 1
- 1
common/config/main.php View File

@@ -67,7 +67,7 @@ return [
}
}

if (Yii::$app->params['maintenanceMode']) {
if (Yii::$app->params['maintenanceMode'] && Yii::$app instanceof \yii\web\Application) {
if(isset($_GET['letMeIn'])) {
Yii::$app->session->set('letMeIn', (int) $_GET['letMeIn']);
}

+ 1
- 1
common/config/params.php View File

@@ -38,7 +38,7 @@

return [
'version' => '24.6.A',
'maintenanceMode' => false,
'maintenanceMode' => true,
'siteName' => 'Souke',
'tinyMcePlugins' => 'preview searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link lists wordcount help',
'adminEmail' => 'contact@souke.fr',

Loading…
Cancel
Save