Rev 958 | Rev 1417 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 958 | Rev 1407 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | // autoload.php @generated by Composer |
3 | // autoload.php @generated by Composer |
4 | 4 | ||
5 | if (PHP_VERSION_ID < 50600) { |
5 | if (PHP_VERSION_ID < 50600) { |
- | 6 | if (!headers_sent()) { |
|
- | 7 | header('HTTP/1.1 500 Internal Server Error'); |
|
- | 8 | } |
|
6 | echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
9 | $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; |
- | 10 | if (!ini_get('display_errors')) { |
|
- | 11 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
|
- | 12 | fwrite(STDERR, $err); |
|
- | 13 | } elseif (!headers_sent()) { |
|
- | 14 | echo $err; |
|
- | 15 | } |
|
- | 16 | } |
|
- | 17 | trigger_error( |
|
- | 18 | $err, |
|
- | 19 | E_USER_ERROR |
|
7 | exit(1); |
20 | ); |
8 | } |
21 | } |
9 | 22 | ||
10 | require_once __DIR__ . '/composer/autoload_real.php'; |
23 | require_once __DIR__ . '/composer/autoload_real.php'; |
11 | 24 | ||
12 | return ComposerAutoloaderInitOidPlusComposer::getLoader(); |
25 | return ComposerAutoloaderInitOidPlusComposer::getLoader(); |