Remove all unneeded set_include_path()

This commit is contained in:
Thomas Müller 2016-10-24 23:37:05 +02:00 committed by Morris Jobke
parent 89574367bc
commit 748f18f34e
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 1 additions and 6 deletions

View File

@ -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)
);
}