diff -r af7e8ec6aef7 -r 402adf8ea719 includes/common_cli.php --- a/includes/common_cli.php Mon Jul 28 13:01:53 2008 -0600 +++ b/includes/common_cli.php Mon Jul 28 13:05:41 2008 -0600 @@ -76,7 +76,8 @@ } // Set our CDN path -define('cdnPath', getConfig('cdn_path', scriptPath)); +if ( !defined('cdnPath') ) + define('cdnPath', getConfig('cdn_path', scriptPath)); // // Low level maintenance @@ -137,13 +138,15 @@ // Obtain list of plugins $plugins->loadAll(); +profiler_log('Fetched plugin list'); + global $plugins; // Load plugins from common because we can't give plugins full abilities in object context foreach ( $plugins->load_list as $f ) { - if ( file_exists($f) ) - include_once $f; + if ( file_exists(ENANO_ROOT . '/plugins/' . $f) ) + include_once ENANO_ROOT . '/plugins/' . $f; } profiler_log('Loaded plugins');