PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | vendor/composer/autoload_real.php +20 -22 2.3.0 → 4.17.0 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2
3 3 // autoload_real.php @generated by Composer
4 4
5 -class ComposerAutoloaderInitd5564d492ece931c4e5305fccd29899f
5 +class ComposerAutoloaderInite3564085369992ab8d213c4ce1520596
6 6 {
7 7 private static $loader;
8 8
9 9 public static function loadClassLoader($class)
@@ -12,8 +12,11 @@
12 12 require __DIR__ . '/ClassLoader.php';
13 13 }
14 14 }
15 15
16 + /**
17 + * @return \Composer\Autoload\ClassLoader
18 + */
16 19 public static function getLoader()
17 20 {
18 21 if (null !== self::$loader) {
19 22 return self::$loader;
@@ -18,35 +21,30 @@
18 21 if (null !== self::$loader) {
19 22 return self::$loader;
20 23 }
21 24
22 - spl_autoload_register(array('ComposerAutoloaderInitd5564d492ece931c4e5305fccd29899f', 'loadClassLoader'), true, true);
23 - self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24 - spl_autoload_unregister(array('ComposerAutoloaderInitd5564d492ece931c4e5305fccd29899f', 'loadClassLoader'));
25 + require __DIR__ . '/platform_check.php';
25 26
26 - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27 - if ($useStaticLoader) {
28 - require_once __DIR__ . '/autoload_static.php';
27 + spl_autoload_register(array('ComposerAutoloaderInite3564085369992ab8d213c4ce1520596', 'loadClassLoader'), true, true);
28 + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29 + spl_autoload_unregister(array('ComposerAutoloaderInite3564085369992ab8d213c4ce1520596', 'loadClassLoader'));
29 30
30 - call_user_func(\Composer\Autoload\ComposerStaticInitd5564d492ece931c4e5305fccd29899f::getInitializer($loader));
31 - } else {
32 - $map = require __DIR__ . '/autoload_namespaces.php';
33 - foreach ($map as $namespace => $path) {
34 - $loader->set($namespace, $path);
35 - }
31 + require __DIR__ . '/autoload_static.php';
32 + call_user_func(\Composer\Autoload\ComposerStaticInite3564085369992ab8d213c4ce1520596::getInitializer($loader));
36 33
37 - $map = require __DIR__ . '/autoload_psr4.php';
38 - foreach ($map as $namespace => $path) {
39 - $loader->setPsr4($namespace, $path);
40 - }
34 + $loader->register(true);
41 35
42 - $classMap = require __DIR__ . '/autoload_classmap.php';
43 - if ($classMap) {
44 - $loader->addClassMap($classMap);
36 + $filesToLoad = \Composer\Autoload\ComposerStaticInite3564085369992ab8d213c4ce1520596::$files;
37 + $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
38 + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
39 + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
40 +
41 + require $file;
45 42 }
43 + }, null, null);
44 + foreach ($filesToLoad as $fileIdentifier => $file) {
45 + $requireFile($fileIdentifier, $file);
46 46 }
47 -
48 - $loader->register(true);
49 47
50 48 return $loader;
51 49 }
52 50 }