includes/common.php
changeset 527 21e11f564463
parent 500 455277559782
child 536 218a627eb53e
equal deleted inserted replaced
526:b2fb50d572c7 527:21e11f564463
   306 global $plugins;
   306 global $plugins;
   307 
   307 
   308 // Load plugins from common because we can't give plugins full abilities in object context
   308 // Load plugins from common because we can't give plugins full abilities in object context
   309 foreach ( $plugins->load_list as $f )
   309 foreach ( $plugins->load_list as $f )
   310 {
   310 {
   311   if ( file_exists($f) )
   311   if ( file_exists(ENANO_ROOT . '/plugins/' . $f) )
   312     include_once $f;
   312     include_once ENANO_ROOT . '/plugins/' . $f;
   313 }
   313 }
   314 
   314 
   315 profiler_log('Loaded plugins');
   315 profiler_log('Loaded plugins');
   316 
   316 
   317 // Three fifths of the Enano API gets the breath of life right here.
   317 // Three fifths of the Enano API gets the breath of life right here.