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

} }
} }


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

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



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

Loading…
Cancel
Save