diff --git a/apps/files/admin.php b/apps/files/admin.php
index 4ae3ee512363bd3c12ddb2ac940d0c815672fca7..bdea70506fb9aadd16216ade3d7bd33305af71ae 100644
--- a/apps/files/admin.php
+++ b/apps/files/admin.php
@@ -23,7 +23,7 @@
 
 
 // Init owncloud
-require_once('../lib/base.php');
+ 
 
 OC_Util::checkAdminUser();
 
diff --git a/apps/files/download.php b/apps/files/download.php
index d1f5ba486d7eaed89341f15cf94edd249d81593f..ec4a6e1fc9c58d264e4fbebe4e466befec496019 100644
--- a/apps/files/download.php
+++ b/apps/files/download.php
@@ -22,7 +22,7 @@
 */
 
 // Init owncloud
-require_once('../lib/base.php');
+ 
 
 // Check if we are a user
 OC_Util::checkLoggedIn();
diff --git a/apps/files/index.php b/apps/files/index.php
index aea91542db60349fc25b796ccf06a3fe1e002c19..46b511d66eb95a9909e72f9342f69b4e3d511465 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -21,10 +21,6 @@
 *
 */
 
-
-// Init owncloud
-require_once('../lib/base.php');
-
 // Check if we are a user
 OC_Util::checkLoggedIn();
 
diff --git a/apps/files/settings.php b/apps/files/settings.php
index c47eb130095a236b5c38135f5809ee13838c9e7d..41017c064efa9d85969850f1e23ef3fd6d12c810 100644
--- a/apps/files/settings.php
+++ b/apps/files/settings.php
@@ -23,7 +23,7 @@
 
 
 // Init owncloud
-require_once('../lib/base.php');
+ 
 
 // Check if we are a user
 OC_Util::checkLoggedIn();
diff --git a/apps/files/webdav.php b/apps/files/webdav.php
index 25e33024470d40881ef685643f444bb2880a8dda..3418eba5a6c6ef5a80ecf671459e29682d892cea 100644
--- a/apps/files/webdav.php
+++ b/apps/files/webdav.php
@@ -29,7 +29,7 @@ $RUNTIME_NOSETUPFS = true;
 // only need filesystem apps
 $RUNTIME_APPTYPES=array('filesystem','authentication');
 
-require_once('../lib/base.php');
+ 
 
 // Backends
 $authBackend = new OC_Connector_Sabre_Auth();
diff --git a/ocs/providers.php b/ocs/providers.php
index e1d6ef7ee1e0304f8f0b0774cb4a4585f67c1cbf..d4ccd4ef9f8fddb91c0c5ea64e96e3671b55dbd2 100644
--- a/ocs/providers.php
+++ b/ocs/providers.php
@@ -21,7 +21,7 @@
 * 
 */
 
-require_once('../lib/base.php');
+ 
 
 $url='http://'.substr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'],0,-17).'ocs/v1.php/';
 
diff --git a/ocs/v1.php b/ocs/v1.php
index f5ff6cb6054709908931a4083da630f2e8895a5e..ed97db2d9b355786fac1b6ef903c9cc8e0c10c1b 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -21,7 +21,7 @@
 * 
 */
 
-require_once('../lib/base.php');
+ 
 @ob_clean();
 OC_OCS::handle();
 
diff --git a/search/index.php b/search/index.php
index 518695c56d202d4dab7bc27f6ac1496d9578a63b..d1f94f74a2ed31f5bdbd8828159cb62638d0aedd 100644
--- a/search/index.php
+++ b/search/index.php
@@ -23,7 +23,7 @@
 
 
 // Init owncloud
-require_once('../lib/base.php');
+ 
 
 // Check if we are a user
 OC_Util::checkLoggedIn();
diff --git a/settings/admin.php b/settings/admin.php
index a997bad4e3c8553987a73f0ec87ea4194d057dc5..399ddd907eec64184716d04f256ed1c5329102e9 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -5,7 +5,7 @@
  * See the COPYING-README file.
  */
 
-require_once('../lib/base.php');
+ 
 OC_Util::checkAdminUser();
 
 OC_Util::addStyle( "settings", "settings" );
diff --git a/settings/apps.php b/settings/apps.php
index 0889b0c45ed720a9b3953f48169f54ec35d21fe0..aed198c77c66bf1986bfea1c0e7fc2644ef74a94 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -21,7 +21,7 @@
 *
 */
 
-require_once('../lib/base.php');
+ 
 OC_Util::checkAdminUser();
 
 // Load the files we need
diff --git a/settings/help.php b/settings/help.php
index 48fcec32782bd9a9dcca3aedeea80cf269ee3d40..00e93720eecfa322556030884a3f8f1731dc1bc4 100644
--- a/settings/help.php
+++ b/settings/help.php
@@ -5,7 +5,7 @@
  * See the COPYING-README file.
  */
 
-require_once('../lib/base.php');
+ 
 OC_Util::checkLoggedIn();
 
 
diff --git a/settings/log.php b/settings/log.php
index ddbf72c4433c2f08270fd2b127c12eef3ea38ba5..31e6f6ff3714b71c0ead394d41d25ef93cd055ad 100644
--- a/settings/log.php
+++ b/settings/log.php
@@ -20,7 +20,7 @@
  *
  */
 
-require_once('../lib/base.php');
+ 
 OC_Util::checkAdminUser();
 
 // Load the files we need
diff --git a/settings/personal.php b/settings/personal.php
index 41499657ac781fd65c23ce1402174e7125f5ef1c..7717bb76667173952284bfa83f496502afe49f61 100755
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -5,7 +5,7 @@
  * See the COPYING-README file.
  */
 
-require_once('../lib/base.php');
+ 
 OC_Util::checkLoggedIn();
 
 // Highlight navigation entry
diff --git a/settings/settings.php b/settings/settings.php
index a49de85520bf5ef6302427cf3a87e0cf26001f43..c73d6b706eaee3b0d935e617864e585ee7fe3133 100644
--- a/settings/settings.php
+++ b/settings/settings.php
@@ -5,7 +5,7 @@
  * See the COPYING-README file.
  */
 
-require_once('../lib/base.php');
+ 
 OC_Util::checkLoggedIn();
 
 OC_Util::addStyle( 'settings', 'settings' );
diff --git a/settings/users.php b/settings/users.php
index 96515a90ce456ed4c213316f2affaa04351de4b1..591d85ff67567584414e3aef4fe7635b4beb9726 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -5,7 +5,7 @@
  * See the COPYING-README file.
  */
 
-require_once('../lib/base.php');
+ 
 OC_Util::checkAdminUser();
 
 // We have some javascript foo!