|
|
|
@ -27,7 +27,8 @@ class ComposerAutoloaderInitFilesAutoload
|
|
|
|
|
array_push($includePaths, get_include_path());
|
|
|
|
|
set_include_path(join(PATH_SEPARATOR, $includePaths));
|
|
|
|
|
|
|
|
|
|
if (PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION')) {
|
|
|
|
|
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
|
|
|
|
|
if ($useStaticLoader) {
|
|
|
|
|
require_once __DIR__ . '/autoload_static.php';
|
|
|
|
|
|
|
|
|
|
call_user_func(\Composer\Autoload\ComposerStaticInitFilesAutoload::getInitializer($loader));
|
|
|
|
@ -50,7 +51,7 @@ class ComposerAutoloaderInitFilesAutoload
|
|
|
|
|
|
|
|
|
|
$loader->register(true);
|
|
|
|
|
|
|
|
|
|
if (PHP_VERSION_ID >= 50600) {
|
|
|
|
|
if ($useStaticLoader) {
|
|
|
|
|
$includeFiles = Composer\Autoload\ComposerStaticInitFilesAutoload::$files;
|
|
|
|
|
} else {
|
|
|
|
|
$includeFiles = require __DIR__ . '/autoload_files.php';
|
|
|
|
|