[pLog-svn] lt_include

Oscar Renalias oscar at renalias.net
Tue Mar 13 04:02:38 EDT 2007


Yes, we could try that...

On 3/12/07, Jon Daley <plogworld at jon.limedaley.com> wrote:
>         I hadn't ever looked at lt_include until just now.  Should we be
> calling include() rather than include_once() in lt_include?
>
>
> function lt_include( $filename ){
>    if(!isset($GLOBALS['included_files'][$filename] )) {
>      include_once($filename);
>      $GLOBALS['included_files'][$filename] = TRUE;
>    }
> }
>
>         We don't need the _once part, and I would expect that include() is
> faster than include_once()?
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list