mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
# Conflicts: # README.md # composer.json # composer.lock # core/cmdbsource.class.inc.php # core/dbobject.class.php # datamodels/2.x/combodo-db-tools/db_analyzer.class.inc.php # datamodels/2.x/combodo-db-tools/dbtools.php # datamodels/2.x/combodo-db-tools/dictionaries/zh_cn.dict.combodo-db-tools.php # datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php # datamodels/2.x/itop-core-update/dictionaries/zh_cn.dict.itop-core-update.php # dictionaries/zh_cn.dictionary.itop.core.php # dictionaries/zh_cn.dictionary.itop.ui.php # lib/composer/InstalledVersions.php # lib/composer/autoload_classmap.php # lib/composer/autoload_static.php # lib/composer/installed.php # lib/composer/platform_check.php # pages/ajax.render.php # pages/csvimport.php # setup/ajax.dataloader.php # setup/index.php # setup/setuputils.class.inc.php # test/application/UtilsTest.php
25 lines
645 B
PHP
25 lines
645 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
|
|
/**
|
|
* Proxy PHP file generated by Composer
|
|
*
|
|
* This file includes the referenced bin path (../nikic/php-parser/bin/php-parse) using eval to remove the shebang if present
|
|
*
|
|
* @generated
|
|
*/
|
|
|
|
$binPath = realpath(__DIR__ . "/" . '../nikic/php-parser/bin/php-parse');
|
|
$contents = file_get_contents($binPath);
|
|
$contents = preg_replace('{^#!/.+\r?\n<\?(php)?}', '', $contents, 1, $replaced);
|
|
if ($replaced) {
|
|
$contents = strtr($contents, array(
|
|
'__FILE__' => var_export($binPath, true),
|
|
'__DIR__' => var_export(dirname($binPath), true),
|
|
));
|
|
|
|
eval($contents);
|
|
exit(0);
|
|
}
|
|
include $binPath;
|