From 748f18f34e7bb9182e9554e05b2a06d72ceff3d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Mon, 24 Oct 2016 23:37:05 +0200
Subject: [PATCH] Remove all unneeded set_include_path()

---
 lib/base.php | 7 +------
 1 file changed, 1 insertion(+), 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)
 		);
 	}
 
-- 
GitLab