]> git.mxchange.org Git - friendica.git/blobdiff - vendor/composer/autoload_real.php
Merge pull request #4229 from annando/database
[friendica.git] / vendor / composer / autoload_real.php
index 48923cf47686e168325d786970ee015d58c8c59d..890b20c0643b7ba3efe10ca826099722831f3d70 100644 (file)
@@ -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';