- MFH: Fixed bug #45726 (PHP_Archive / Archive.php missing)

This commit is contained in:
Felipe Pena 2008-10-17 01:58:20 +00:00
parent e45af91313
commit e52fc53bc2

View File

@ -488,7 +488,9 @@ class PharCommand extends CLICommand
if (isset($loader)) {
$s = "<?php if (!class_exists('PHP_Archive')) {\n?>";
$s .= file_get_contents($loader);
if (is_file($loader)) {
$s .= file_get_contents($loader);
}
$s .= "<?php\n";
$s .= "}\n";
$s .= "if (!in_array('phar', stream_get_wrappers())) {\n";