mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +00:00
90f4aa36b6
- Update Composer to version 1.5.5 - Update Mobile_Detect to version 2.8.28 - Update classmaps
86703 lines
No EOL
1.8 MiB
Executable file
86703 lines
No EOL
1.8 MiB
Executable file
#!/usr/bin/env php
|
||
<?php
|
||
/*
|
||
* This file is part of Composer.
|
||
*
|
||
* (c) Nils Adermann <naderman@naderman.de>
|
||
* Jordi Boggiano <j.boggiano@seld.be>
|
||
*
|
||
* For the full copyright and license information, please view
|
||
* the license that is located at the bottom of this file.
|
||
*/
|
||
|
||
// Avoid APC causing random fatal errors per https://github.com/composer/composer/issues/264
|
||
if (extension_loaded('apc') && ini_get('apc.enable_cli') && ini_get('apc.cache_by_default')) {
|
||
if (version_compare(phpversion('apc'), '3.0.12', '>=')) {
|
||
ini_set('apc.cache_by_default', 0);
|
||
} else {
|
||
fwrite(STDERR, 'Warning: APC <= 3.0.12 may cause fatal errors when running composer commands.'.PHP_EOL);
|
||
fwrite(STDERR, 'Update APC, or set apc.enable_cli or apc.cache_by_default to 0 in your php.ini.'.PHP_EOL);
|
||
}
|
||
}
|
||
|
||
Phar::mapPhar('composer.phar');
|
||
require 'phar://composer.phar/bin/composer';
|
||
|
||
__HALT_COMPILER(); ?>
|
||
w‘ |