From 8db6367cba82032c94fa7af9924c9283e10d8e27 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 7 Jun 2024 09:42:59 +0200 Subject: [PATCH] =?UTF-8?q?Corrige=20la=20d=C3=A9tection=20de=20serveur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/config/view/setup/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/config/view/setup/setup.php b/core/module/config/view/setup/setup.php index f0d408a5..b1e34e5c 100644 --- a/core/module/config/view/setup/setup.php +++ b/core/module/config/view/setup/setup.php @@ -48,7 +48,7 @@ helper::checkRewrite(), 'help' => 'Supprime le point d\'interrogation dans les URL, l\'option est indisponible avec les autres serveurs Web', - 'disabled' => !in_array('mod_rewrite',apache_get_modules()) + 'disabled' => stripos($_SERVER["SERVER_SOFTWARE"], 'Apache') === false ]); ?>