From: Marcus Boerger Date: Wed, 16 May 2007 23:00:18 +0000 (+0000) Subject: - Include 'class Phar extends PHP_Archive {}' when using -p X-Git-Tag: RELEASE_1_2_0~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6365d3e06a7b96ef4b69697a0d5fd89bbc272ce3;p=php - Include 'class Phar extends PHP_Archive {}' when using -p --- diff --git a/ext/phar/phar.php b/ext/phar/phar.php index c294e5c930..067ecc002d 100644 --- a/ext/phar/phar.php +++ b/ext/phar/phar.php @@ -503,7 +503,7 @@ class PharCommand extends CLICommand } $s.= ''; $s.= file_get_contents($loader); - $s.= ''; + $s.= ''; if (substr($c,0,1) == '#') { $s.= substr($c,strpos($c, "\n")+1); } diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index a4da19ee71..f8ab8eebf9 100755 --- a/ext/phar/phar/pharcommand.inc +++ b/ext/phar/phar/pharcommand.inc @@ -260,7 +260,7 @@ class PharCommand extends CLICommand } $s.= ''; $s.= file_get_contents($loader); - $s.= ''; + $s.= ''; if (substr($c,0,1) == '#') { $s.= substr($c,strpos($c, "\n")+1); }