]> git.mjollnir.org Git - moodle.git/commitdiff
Should use php_flag, not php_value, for boolean settings!!
authormoodler <moodler>
Mon, 19 May 2003 02:25:11 +0000 (02:25 +0000)
committermoodler <moodler>
Mon, 19 May 2003 02:25:11 +0000 (02:25 +0000)
See bug 429

lib/htaccess

index 35609588ca8cd52eb34fcd3fd99514ca160fdf6d..f330ba874a39d06100f61784d1ad5744a041476c 100644 (file)
@@ -27,12 +27,12 @@ DirectoryIndex index.php index.html index.htm
 
 ### Thirdly, set up some PHP variables that Moodle needs
 
-php_value magic_quotes_gpc On
-php_value magic_quotes_runtime Off   
-php_value file_uploads On
-php_value short_open_tag On
-php_value session.auto_start Off
-php_value session.bug_compat_warn Off
+php_flag magic_quotes_gpc        1
+php_flag magic_quotes_runtime    0   
+php_flag file_uploads            1
+php_flag short_open_tag          1
+php_flag session.auto_start      0
+php_flag session.bug_compat_warn 0
 
 ### Fourthly, sometimes Apache limits the size of uploaded files
 ### (this is a separate limit to the one in PHP, see below).