[pLog-svn] r2119 - plog/branches/plog-1.1-ben

ork at devel.plogworld.net ork at devel.plogworld.net
Tue May 31 00:19:56 GMT 2005


Author: ork
Date: 2005-05-31 00:19:56 +0000 (Tue, 31 May 2005)
New Revision: 2119

Modified:
   plog/branches/plog-1.1-ben/index.php
Log:
added timestamp include .. 


Modified: plog/branches/plog-1.1-ben/index.php
===================================================================
--- plog/branches/plog-1.1-ben/index.php	2005-05-31 00:19:27 UTC (rev 2118)
+++ plog/branches/plog-1.1-ben/index.php	2005-05-31 00:19:56 UTC (rev 2119)
@@ -1,6 +1,7 @@
 <?php
 
 //xdebug_start_profiling();
+//xdebug_start_trace('/tmp/trace');
 
     if (!defined( "PLOG_CLASS_PATH" )) {
         define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
@@ -11,6 +12,7 @@
     include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
     include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
     include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+    include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
 
     // just to make php use &amp; as the separator when adding the PHPSESSID
     // variable to our requests
@@ -25,9 +27,6 @@
                Please remove it first to continue.");
         die();
     }
-	
-	// initialize the session
-	SessionManager::init();
 
     $controller = new BlogController();
 
@@ -37,6 +36,9 @@
     $pluginManager =& PluginManager::getPluginManager();
     $pluginManager->loadPlugins();
 
+	// initialize the session
+	SessionManager::init();
+	
     // give control to the, ehem, controller :)
     $controller->process( HttpVars::getRequest(), "op");
 




More information about the pLog-svn mailing list