From bab2c5b8ceb8a6cc830575f6f53eab708aecbb83 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 14 Nov 2005 22:57:03 +0000 Subject: [PATCH] added register_globals off as recommended setting --- lib/htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/htaccess b/lib/htaccess index fd5b576dbe0..223396c5f9c 100644 --- a/lib/htaccess +++ b/lib/htaccess @@ -28,7 +28,8 @@ DirectoryIndex index.php index.html index.htm ### Thirdly, set up some PHP variables that Moodle needs php_flag magic_quotes_gpc 1 -php_flag magic_quotes_runtime 0 +php_flag magic_quotes_runtime 0 +php_flag register_globals 0 php_flag file_uploads 1 php_flag short_open_tag 1 php_flag session.auto_start 0