pull/11920/head
parent
2feeb56477
commit
658ab073ea
|
@ -383,8 +383,7 @@ if (PHP_VERSION_ID < 80000) {
|
||||||
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
|
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
|
||||||
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
|
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
|
||||||
) {
|
) {
|
||||||
include("phpvfscomposer://" . $binPathExported);
|
return include("phpvfscomposer://" . $binPathExported);
|
||||||
exit(0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -406,7 +405,7 @@ namespace Composer;
|
||||||
|
|
||||||
$globalsCode
|
$globalsCode
|
||||||
$streamProxyCode
|
$streamProxyCode
|
||||||
include $binPathExported;
|
return include $binPathExported;
|
||||||
|
|
||||||
PROXY;
|
PROXY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue