From 7b825054d243ccb8c51441df60d4f8356717dfc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Sat, 8 Jan 2022 18:30:56 +0100 Subject: [PATCH] Ifmodule et non ifmodule --- core/module/config/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/config/config.php b/core/module/config/config.php index 0524bd9d..42efdd46 100644 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -554,7 +554,7 @@ class config extends common { file_put_contents( '.htaccess', PHP_EOL . - '' . PHP_EOL . + '' . PHP_EOL . "\tRewriteEngine on" . PHP_EOL . "\tRewriteBase " . helper::baseUrl(false, false) . PHP_EOL . "\tRewriteCond %{REQUEST_FILENAME} !-f" . PHP_EOL . @@ -562,7 +562,7 @@ class config extends common { "\tRewriteRule ^(.*)$ index.php?$1 [L]" . PHP_EOL . "\tRewriteCond %{SERVER_PORT} 80" . PHP_EOL . "\tRewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]" . PHP_EOL . - '', + '', FILE_APPEND ); // Change le statut de la réécriture d'URL (pour le helper::baseUrl() de la redirection)