equal
deleted
inserted
replaced
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. |