[pLog-svn] r5490 - plog/trunk

Oscar Renalias oscar at renalias.net
Tue Jun 5 13:49:24 EDT 2007


This won't work:

> -    include_once( PLOG_CLASS_PATH."install/ 
> dbschemas.properties.php" );
> +    lt_include( PLOG_CLASS_PATH."install/dbschemas.properties.php" );
>      // default configuration values for 1.1
> -    include_once( PLOG_CLASS_PATH."install/ 
> defaultconfig.properties.php" );
> +    lt_include( PLOG_CLASS_PATH."install/ 
> defaultconfig.properties.php" );
>      // post schema changes after upgrade
> -    include_once( PLOG_CLASS_PATH."install/ 
> changes_10_11.properties.php" );
> +    lt_include( PLOG_CLASS_PATH."install/ 
> changes_10_11.properties.php" );

Using lt_include to import a .php file which defined an array instead  
of a class did not work, so they had to be kept as include() or  
include_once().

But if you had merged wizard.php from lifetype-1.2 to the one in  
trunk/ you wouldn't have needed this. I suppose you forgot about  
wizard.php... But I think we can take the easy route and copy the  
wizard over from the lifetype-1.2 branch, as the one in the trunk/  
was not special for the branch anyway.

Oscar


More information about the pLog-svn mailing list