[pLog-svn] lt_include

Jon Daley plogworld at jon.limedaley.com
Mon Mar 12 09:07:17 EDT 2007


 	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()?



More information about the pLog-svn mailing list