[pLog-svn] r1028 - plog/trunk/class/net/http/session

oscar at devel.plogworld.net oscar at devel.plogworld.net
Thu Feb 10 07:31:12 GMT 2005


Author: oscar
Date: 2005-02-10 07:31:12 +0000 (Thu, 10 Feb 2005)
New Revision: 1028

Modified:
   plog/trunk/class/net/http/session/sessionmanager.class.php
Log:
fixed a small issue in SessionManager regarding a mixup of the parameters in the call to explode()


Modified: plog/trunk/class/net/http/session/sessionmanager.class.php
===================================================================
--- plog/trunk/class/net/http/session/sessionmanager.class.php	2005-02-09 23:19:14 UTC (rev 1027)
+++ plog/trunk/class/net/http/session/sessionmanager.class.php	2005-02-10 07:31:12 UTC (rev 1028)
@@ -83,7 +83,7 @@
 			// this won't work for top level domains and domains such as
 			// 'localhost' or internal domains for obvious security reasons...
 			// See comments in http://fi.php.net/manual/en/function.session-set-cookie-params.php
-			if( count(explode($domain, '.')) > 1 ) {
+			if( count(explode('.', $domain)) > 1 ) {
 				$log =& LoggerManager::getLogger();
 				$log->debug("cookie domain = $domain");			
 			




More information about the pLog-svn mailing list