[pLog-svn] r5358 - plog/branches/lifetype-1.2/class/logger/config
Jon Daley
plogworld at jon.limedaley.com
Sat Apr 28 15:30:33 EDT 2007
That probably isn't doing what you think it is. You probably want
include() instead. I don't think we should use include_once() anywhere in
the code. If someone thinks we need it, there is either something wrong
with lt_include, or they really want include(). I don't think there are
any other scenarios - though of course, I could be wrong.
On Sat, 28 Apr 2007, oscar at devel.lifetype.net wrote:
> Author: oscar
> Date: 2007-04-28 11:21:35 -0400 (Sat, 28 Apr 2007)
> New Revision: 5358
>
> Modified:
> plog/branches/lifetype-1.2/class/logger/config/loggerconfigloader.class.php
> Log:
> We can't use lt_include here or else for some reason the file doesn't get loaded.
>
> Modified: plog/branches/lifetype-1.2/class/logger/config/loggerconfigloader.class.php
> ===================================================================
> --- plog/branches/lifetype-1.2/class/logger/config/loggerconfigloader.class.php 2007-04-28 14:07:08 UTC (rev 5357)
> +++ plog/branches/lifetype-1.2/class/logger/config/loggerconfigloader.class.php 2007-04-28 15:21:35 UTC (rev 5358)
> @@ -23,7 +23,7 @@
> {
> // load the config file if it is readable
> if( File::isReadable( $defaultFilePath )) {
> - lt_include( $defaultFilePath );
> + include_once( $defaultFilePath );
> $this->_keys = $config;
> }
> else {
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
Are part-time band leaders semi-conductors?
More information about the pLog-svn
mailing list