Use On and Off instead of 0 and 1
This commit is contained in:
+8
-6
@@ -13,17 +13,19 @@
|
||||
#
|
||||
### Firstly, set up some PHP variables that Moodle needs
|
||||
|
||||
php_value magic_quotes_gpc 1
|
||||
php_value file_uploads 1
|
||||
php_value short_open_tag 1
|
||||
php_value session.auto_start 0
|
||||
php_value session.bug_compat_warn 0
|
||||
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
|
||||
|
||||
### These are optional - you may not want to override php.ini
|
||||
### To enable them, remove the leading hash (#)
|
||||
|
||||
#php_value upload_max_filesize 2M
|
||||
#php_value post_max_size 2M
|
||||
|
||||
#php_value session.gc_maxlifetime 7200
|
||||
|
||||
### Optional definition of default files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user