[pLog-svn] r2999 - plog/trunk

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Mar 2 02:49:03 GMT 2006


Author: mark
Date: 2006-03-02 02:49:02 +0000 (Thu, 02 Mar 2006)
New Revision: 2999

Modified:
   plog/trunk/admin.php
Log:
I know, it's stupid. But I have to add templatesets.class.php to admin to avoid php_incomplete_object(class) problem in PHP5.

It is becasue PHP5 need to delcare the class deifintion before the session_start().

To avoid this problem, we need to change our session implementation I think.

More detail idea, please reference to the comments in this page: http://nl2.php.net/__autoload by "shurikk at gmail dot com"


Modified: plog/trunk/admin.php
===================================================================
--- plog/trunk/admin.php	2006-03-01 23:24:28 UTC (rev 2998)
+++ plog/trunk/admin.php	2006-03-02 02:49:02 UTC (rev 2999)
@@ -12,6 +12,7 @@
     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/misc/info.class.php" );
+    include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' );
 
     ini_set("arg_seperator.output", "&");
     ini_set("magic_quotes_runtime", 0 );



More information about the pLog-svn mailing list