]> git.mjollnir.org Git - moodle.git/commitdiff
Use On and Off instead of 0 and 1
authormoodler <moodler>
Tue, 28 Jan 2003 02:28:17 +0000 (02:28 +0000)
committermoodler <moodler>
Tue, 28 Jan 2003 02:28:17 +0000 (02:28 +0000)
lib/htaccess

index bdd91882a68f629bbc3d22a6af6f2bad91447843..c74d13b5f0438f2348b281d0fab5a3fd99c70f80 100644 (file)
 #
 ### 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