[pLog-svn] r2999 - plog/trunk

Oscar Renalias oscar at renalias.net
Thu Mar 2 07:19:45 GMT 2006


why is the TemplateSet class needed at all for the session? Do we
store anything related to that in it?

Oscar

On 3/2/06, mark at devel.lifetype.net <mark at devel.lifetype.net> wrote:
> 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", "&amp;");
>      ini_set("magic_quotes_runtime", 0 );
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list