X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=vendor%2Fcomposer%2Fautoload_real.php;h=890b20c0643b7ba3efe10ca826099722831f3d70;hb=1ab28bbe03a9d6fd59186511718d083c13edb326;hp=48923cf47686e168325d786970ee015d58c8c59d;hpb=1ce5cc1b49650faa7b0981fa4d179feade042faa;p=friendica.git diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 48923cf476..890b20c064 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -23,6 +23,10 @@ class ComposerAutoloaderInitFriendica self::$loader = $loader = new \Composer\Autoload\ClassLoader(); spl_autoload_unregister(array('ComposerAutoloaderInitFriendica', 'loadClassLoader')); + $includePaths = require __DIR__ . '/include_paths.php'; + array_push($includePaths, get_include_path()); + set_include_path(implode(PATH_SEPARATOR, $includePaths)); + $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php';