From: Felipe Pena Date: Fri, 17 Oct 2008 01:53:26 +0000 (+0000) Subject: - Fixed bug #45726 (PHP_Archive / Archive.php missing) X-Git-Tag: BEFORE_HEAD_NS_CHANGE~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2e64169f5e655106c5c4490f72729fd85b6e88c;p=php - Fixed bug #45726 (PHP_Archive / Archive.php missing) --- diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index 2060f5227f..cbca587e35 100755 --- a/ext/phar/phar/pharcommand.inc +++ b/ext/phar/phar/pharcommand.inc @@ -488,7 +488,9 @@ class PharCommand extends CLICommand if (isset($loader)) { $s = ""; - $s .= file_get_contents($loader); + if (is_file($loader)) { + $s .= file_get_contents($loader); + } $s .= "