From c2e64169f5e655106c5c4490f72729fd85b6e88c Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 17 Oct 2008 01:53:26 +0000 Subject: [PATCH] - 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 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 .= "