|
@@ -27,7 +27,7 @@ class ComposerAutoloaderInitFilesAutoload
|
|
|
array_push($includePaths, get_include_path());
|
|
|
set_include_path(implode(PATH_SEPARATOR, $includePaths));
|
|
|
|
|
|
- $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
|
|
|
+ $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';
|
|
|
|