From e52fc53bc253f1e10ac8d424a3b4fa50ac0555ce Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 17 Oct 2008 01:58:20 +0000 Subject: [PATCH] - MFH: Fixed bug #45726 (PHP_Archive / Archive.php missing) --- ext/phar/phar/pharcommand.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index 2060f5227f3..cbca587e351 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 .= "