diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-06 13:36:19 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-06 13:36:19 +0100 |
commit | 0bb5eadf8984fbb21e9f573da9a37e4a75e83a68 (patch) | |
tree | 9a6f35cf75a0ee6e0bc1a010ba2757ef90458708 /lib/base.php | |
parent | dc96aa384921dab74ea3aea07cbf016f8bd0681f (diff) | |
download | nextcloud-server-0bb5eadf8984fbb21e9f573da9a37e4a75e83a68.tar.gz nextcloud-server-0bb5eadf8984fbb21e9f573da9a37e4a75e83a68.zip |
[autoloader] Make sure to load construct full paths
This reduces a lot of the autoloader magic and makes sure that we
generate full paths in the autoloader.
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/base.php b/lib/base.php index 95a47dec1e2..f44c4ff5bf2 100644 --- a/lib/base.php +++ b/lib/base.php @@ -117,12 +117,6 @@ class OC { * the app path list is empty or contains an invalid path */ public static function initPaths() { - // ensure we can find OC_Config - set_include_path( - OC::$SERVERROOT . '/lib' . PATH_SEPARATOR . - get_include_path() - ); - if(defined('PHPUNIT_CONFIG_DIR')) { self::$configDir = OC::$SERVERROOT . '/' . PHPUNIT_CONFIG_DIR . '/'; } elseif(defined('PHPUNIT_RUN') and PHPUNIT_RUN and is_dir(OC::$SERVERROOT . '/tests/config/')) { |