[prev in list] [next in list] [prev in thread] [next in thread]
List: gallery-checkins
Subject: [Gallery-checkins] SF.net SVN: gallery: [13910]
From: bharat () users ! sourceforge ! net
Date: 2006-06-30 22:08:57
Message-ID: E1FwRAX-0007rH-85 () sc8-pr-svn3 ! sourceforge ! net
[Download RAW message or body]
Revision: 13910
Author: bharat
Date: 2006-06-30 15:08:56 -0700 (Fri, 30 Jun 2006)
ViewCVS: http://svn.sourceforge.net/gallery/?rev=13910&view=rev
Log Message:
-----------
Switch session handler back to 'files' if it was set to 'user' to provide an escape \
hatch in the case that gallery is installed in a subdir of some other app
Modified Paths:
--------------
trunk/gallery2/install/index.php
trunk/gallery2/upgrade/index.php
Modified: trunk/gallery2/install/index.php
===================================================================
--- trunk/gallery2/install/index.php 2006-06-30 19:34:45 UTC (rev 13909)
+++ trunk/gallery2/install/index.php 2006-06-30 22:08:56 UTC (rev 13910)
@@ -103,7 +103,11 @@
}
}
-if (!@ini_get('session.save_handler')) {
+if (@ini_get('session.save_handler') == 'user') {
+ /*
+ * Escape hatch to avoid conflicting with an application specific session \
handler, which can + * happen in the case where Gallery2 is installed in a subdir \
of some other app. + */
@ini_set('session.save_handler', 'files');
session_start();
} else if (!ini_get('session.auto_start')) {
Modified: trunk/gallery2/upgrade/index.php
===================================================================
--- trunk/gallery2/upgrade/index.php 2006-06-30 19:34:45 UTC (rev 13909)
+++ trunk/gallery2/upgrade/index.php 2006-06-30 22:08:56 UTC (rev 13910)
@@ -98,7 +98,11 @@
}
}
-if (!@ini_get('session.save_handler')) {
+if (@ini_get('session.save_handler') == 'user') {
+ /*
+ * Escape hatch to avoid conflicting with an application specific session \
handler, which can + * happen in the case where Gallery2 is installed in a subdir \
of some other app. + */
@ini_set('session.save_handler', 'files');
session_start();
} else if (!ini_get('session.auto_start')) {
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic