[pLog-svn] r2399 - plog/branches/plog-1.0.2

pwestbro at devel.plogworld.net pwestbro at devel.plogworld.net
Mon Aug 8 09:49:28 GMT 2005


Author: pwestbro
Date: 2005-08-08 09:49:27 +0000 (Mon, 08 Aug 2005)
New Revision: 2399

Modified:
   plog/branches/plog-1.0.2/rss.php
Log:
Fixed an error in rss.php, where the session_start was not called before
_SESSION is accessed
http://bugs.plogworld.net/view.php?id=668



Modified: plog/branches/plog-1.0.2/rss.php
===================================================================
--- plog/branches/plog-1.0.2/rss.php	2005-08-05 01:15:53 UTC (rev 2398)
+++ plog/branches/plog-1.0.2/rss.php	2005-08-08 09:49:27 UTC (rev 2399)
@@ -6,6 +6,7 @@
 
     include_once( PLOG_CLASS_PATH."class/controller/controller.class.php" );
     include_once( PLOG_CLASS_PATH."class/net/http/session/sessioninfo.class.php" );
+    include_once( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
     include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
 	include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
 
@@ -23,6 +24,7 @@
     //
     // if there is no session object, we better create one
     //
+    SessionManager::Init();
     $session = HttpVars::getSession();
     if( $session["SessionInfo"] == "" ) {
         $session["SessionInfo"] = new SessionInfo();




More information about the pLog-svn mailing list