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 .= "