fix loading of plugins

remotes/origin/stable
Robin Appelman 14 years ago
parent 3c19e66151
commit df149217b9

@ -128,7 +128,7 @@ if(OC_USER::isLoggedIn()){
// load plugins
$CONFIG_LOADPLUGINS='';
$plugins=explode(' ',$CONFIG_LOADPLUGINS);
if(isset($plugins[0]['url'])) foreach($plugins as $plugin) require_once('plugins/'.$plugin.'/lib_'.$plugin.'.php');
if(isset($plugins[0]['url'])) foreach($plugins as $plugin) oc_require_once('plugins/'.$plugin.'/lib_'.$plugin.'.php');
// check if the server is correctly configured for ownCloud

Loading…
Cancel
Save