Skip to content

Commit

Permalink
Remove all unneeded set_include_path()
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 authored and MorrisJobke committed Oct 25, 2016
1 parent 8957436 commit 748f18f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,7 @@ public static function initPaths() {

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

Expand Down

0 comments on commit 748f18f

Please sign in to comment.