From eb8ea1cba50d865b60c4c6f1af8cc60a20ba0b97 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Fri, 25 Oct 2013 15:29:15 +0200 Subject: [PATCH] [-] CORE : SetEnv in if statement --- classes/Tools.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes/Tools.php b/classes/Tools.php index aad30a81e..bf4aae11c 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -1694,6 +1694,11 @@ class ToolsCore // RewriteEngine fwrite($write_fd, "\n"); + // Ensure HTTP_MOD_REWRITE variable is set in environment + fwrite($write_fd, "\n"); + fwrite($write_fd, "SetEnv HTTP_MOD_REWRITE On\n"); + fwrite($write_fd, "\n\n"); + // Disable multiviews ? if ($disable_multiviews) fwrite($write_fd, "\n# Disable Multiviews\nOptions -Multiviews\n\n");