[Svn] r1945 - in trunk/roundcubemail: . program/include

trac at roundcube.net trac at roundcube.net
Mon Oct 6 20:03:11 CEST 2008


Author: alec
Date: 2008-10-06 13:03:10 -0500 (Mon, 06 Oct 2008)
New Revision: 1945

Modified:
   trunk/roundcubemail/.htaccess
   trunk/roundcubemail/program/include/iniset.php
Log:
#1485460: session.gc_* moved to main .htaccess file


Modified: trunk/roundcubemail/.htaccess
===================================================================
--- trunk/roundcubemail/.htaccess	2008-10-06 17:47:34 UTC (rev 1944)
+++ trunk/roundcubemail/.htaccess	2008-10-06 18:03:10 UTC (rev 1945)
@@ -1,19 +1,23 @@
 # AddDefaultCharset	UTF-8
 AddType text/x-component .htc
 
-<IfModule mod_php5.c>
-  php_flag	display_errors	Off
-  php_flag	log_errors	On
-  php_value	error_log	logs/errors
-  php_value	upload_max_filesize	5M
-  php_value	post_max_size	6M
-  php_value	memory_limit	64M
-  php_value	session.auto_start	0
-  php_value	zlib.output_compression	0
-  php_value	magic_quotes_gpc	0
-  php_value	zend.ze1_compatibility_mode	0
-</IfModule>
+php_flag	display_errors	Off
+php_flag	log_errors	On
+php_value	error_log	logs/errors
 
+php_value	upload_max_filesize	5M
+php_value	post_max_size	6M
+php_value	memory_limit	64M
+
+php_value	zlib.output_compression	0
+php_value	magic_quotes_gpc	0
+php_value	zend.ze1_compatibility_mode	0
+
+php_value	session.auto_start	0
+php_value	session.gc_maxlifetime	21600
+php_value	session.gc_divisor	500
+php_value	session.gc_probability	1
+
 <FilesMatch "(\.inc|\~)$">
   Order allow,deny
   Deny from all

Modified: trunk/roundcubemail/program/include/iniset.php
===================================================================
--- trunk/roundcubemail/program/include/iniset.php	2008-10-06 17:47:34 UTC (rev 1944)
+++ trunk/roundcubemail/program/include/iniset.php	2008-10-06 18:03:10 UTC (rev 1945)
@@ -53,8 +53,6 @@
 ini_set('session.name', 'roundcube_sessid');
 ini_set('session.use_cookies', 1);
 ini_set('session.only_use_cookies', 1);
-ini_set('session.gc_maxlifetime', 21600);
-ini_set('session.gc_divisor', 500);
 ini_set('error_reporting', E_ALL&~E_NOTICE);
 set_magic_quotes_runtime(0);
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list