@@ -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']); | |||
} |
@@ -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', |