Should use php_flag, not php_value, for boolean settings!!

See bug 429
This commit is contained in:
moodler
2003-05-19 02:25:11 +00:00
parent 96376e9a4f
commit 6a6681294a
+6 -6
View 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).