summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-10-24 23:37:05 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-25 18:08:54 +0200
commit748f18f34e7bb9182e9554e05b2a06d72ceff3d0 (patch)
treee8ebb6625b34ae0101c9208106ba3c30588cdbaa
parent89574367bcc57da5eda6d13ffcfd8a12de68ea26 (diff)
downloadnextcloud-server-748f18f34e7bb9182e9554e05b2a06d72ceff3d0.tar.gz
nextcloud-server-748f18f34e7bb9182e9554e05b2a06d72ceff3d0.zip
Remove all unneeded set_include_path()
-rw-r--r--lib/base.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/base.php b/lib/base.php
index 883c1f54b17..e7bedb69596 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -217,12 +217,7 @@ class OC {
// set the right include path
set_include_path(
- OC::$SERVERROOT . '/lib/private' . PATH_SEPARATOR .
- self::$configDir . PATH_SEPARATOR .
- OC::$SERVERROOT . '/3rdparty' . PATH_SEPARATOR .
- implode(PATH_SEPARATOR, $paths) . PATH_SEPARATOR .
- get_include_path() . PATH_SEPARATOR .
- OC::$SERVERROOT
+ implode(PATH_SEPARATOR, $paths)
);
}