From 99c2fa06ee8f9fc26985c6282602a817b6de6b3b Mon Sep 17 00:00:00 2001 From: F Tempez Date: Thu, 23 Dec 2021 10:14:25 +0100 Subject: [PATCH] .29 erruer 500 htaccess --- .htaccess | 4 ++-- core/core.php | 2 +- index.php | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 574dd56b..7c933e06 100644 --- a/.htaccess +++ b/.htaccess @@ -24,8 +24,8 @@ AddOutputFilterByType DEFLATE application/x-javascript -# Cache le PHPSESSID de l'url -SetEnv SESSION_USE_TRANS_SID 0 +# Cache le PHPSESSID de l'url // Désormais géré par index.php +# SetEnv SESSION_USE_TRANS_SID 0 # Bloque l'accès à la liste des fichiers Options -Indexes diff --git a/core/core.php b/core/core.php index 9e1c0893..55171912 100644 --- a/core/core.php +++ b/core/core.php @@ -45,7 +45,7 @@ class common { // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_VERSION = '11.2.00.28'; + const ZWII_VERSION = '11.2.00.29'; const ZWII_UPDATE_CHANNEL = "test"; public static $actions = []; diff --git a/index.php b/index.php index d1880818..8da6c739 100644 --- a/index.php +++ b/index.php @@ -17,6 +17,9 @@ /** * Initialisation de Zwii */ +// Remplace la directive htaccess +ini_set('session.use_trans_sid', FALSE); +// Démarre la session session_start(); /**