mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Add AccountType model, CRUD and tests Add AccountContact model, CRUD and tests Allow users to retreive their contacts in JSON and VCARD4.0 format Update the dependencies Complete the documentation Improve the messages displayed when removing accounts in RemoveUnconfirmedAccounts Fix a bug in DeviceController Fix README
105849 lines
No EOL
2.2 MiB
Executable file
105849 lines
No EOL
2.2 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') && filter_var(ini_get('apc.enable_cli'), FILTER_VALIDATE_BOOLEAN) && filter_var(ini_get('apc.cache_by_default'), FILTER_VALIDATE_BOOLEAN)) {
|
||
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);
|
||
}
|
||
}
|
||
|
||
if (!class_exists('Phar')) {
|
||
echo 'PHP\'s phar extension is missing. Composer requires it to run. Enable the extension or recompile php without --disable-phar then try again.' . PHP_EOL;
|
||
exit(1);
|
||
}
|
||
|
||
Phar::mapPhar('composer.phar');
|
||
require 'phar://composer.phar/bin/composer';
|
||
|
||
__HALT_COMPILER(); ?>
|
||
› |