From 8b354ff40e73db94a47330e1cc40c3ebaee5ad16 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 7 Jun 2024 09:42:57 +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 f0d408a..b1e34e5 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 ]); ?>