From 5d5ce25c1f00e29838eab1256f86546d25bbe1b0 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 3 Jun 2019 10:06:17 +0200 Subject: [PATCH] =?UTF-8?q?[9.1.08]=20r=C3=A9=C3=A9criture=20d'URL=20d?= =?UTF-8?q?=C3=A9sactiv=C3=A9e=20apr=C3=A8s=20mise=20=C3=A0=20jour=20auto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/install/install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/module/install/install.php b/core/module/install/install.php index 1199e5f6..a617ae71 100755 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -189,10 +189,11 @@ class install extends common { case 4: $success = true; // Réécriture d'URL - if($this->getInput('data', helper::FILTER_BOOLEAN)) { + if ($this->getInput('data', helper::FILTER_BOOLEAN) === 1) { $success = (file_put_contents( '.htaccess', PHP_EOL . + '#' . $rewrite . '#' . PHP_EOL . '' . PHP_EOL . "\tRewriteEngine on" . PHP_EOL . "\tRewriteBase " . helper::baseUrl(false, false) . PHP_EOL .