updating random_compat library to 2.0.15 (not upgrading identicon, would raise PHP requirements to 5.5)

This commit is contained in:
El RIDO
2018-07-01 15:32:22 +02:00
parent 3745f9d96b
commit fd6c18e573
15 changed files with 461 additions and 380 deletions

View File

@@ -23,7 +23,7 @@ class ComposerAutoloaderInitDontChange
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitDontChange', 'loadClassLoader'));
$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';