aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-26 09:55:56 +0200
committerGitHub <noreply@github.com>2016-10-26 09:55:56 +0200
commit0b430a82d49a9141d8e8942496a5b63560026caf (patch)
tree0e7ee9a329836600529715863712515443fea863 /lib
parenta973c1bfb9b8ac444009b19fd1107483676dfd25 (diff)
parent748f18f34e7bb9182e9554e05b2a06d72ceff3d0 (diff)
downloadnextcloud-server-0b430a82d49a9141d8e8942496a5b63560026caf.tar.gz
nextcloud-server-0b430a82d49a9141d8e8942496a5b63560026caf.zip
Merge pull request #1914 from nextcloud/downstream-26468
Remove all unneeded set_include_path()
Diffstat (limited to 'lib')
-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)
);
}