]> source.dussan.org Git - nextcloud-server.git/commitdiff
load plugins
authorSandro <hefee@taurin.(none)>
Mon, 28 Jun 2010 16:38:06 +0000 (18:38 +0200)
committerSandro <hefee@taurin.(none)>
Mon, 28 Jun 2010 16:38:06 +0000 (18:38 +0200)
inc/lib_base.php

index aa14d3cec00805ff6769c3735c03d38d80a6dd94..c7fd80964aad3df12e83e92b1977efe6deb5e3d7 100755 (executable)
@@ -110,7 +110,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) require_once($SERVERROOT.'/plugins/'.$plugin.'/lib_'.$plugin.'.php');
 
 
 // check if the server is correctly configured for ownCloud