diff options
author | Greg Beaver <cellog@php.net> | 2007-11-22 18:34:12 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2007-11-22 18:34:12 +0000 |
commit | e6612be48bc3a2d10ef816c576b9b6f960b5bb50 (patch) | |
tree | a881062370992740170f52a15404361bc1642c7b | |
parent | 64f2e01d537285836ad236993c79401b349aa125 (diff) | |
download | php-git-e6612be48bc3a2d10ef816c576b9b6f960b5bb50.tar.gz |
fix Bug #12493 extract throws an error and won't open the file [urkle]
-rw-r--r-- | ext/phar/package.php | 1 | ||||
-rwxr-xr-x | ext/phar/phar/pharcommand.inc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/phar/package.php b/ext/phar/package.php index 69672f92c8..1acd2ae838 100644 --- a/ext/phar/package.php +++ b/ext/phar/package.php @@ -7,6 +7,7 @@ $notes = ' windows path separators (on windows only) * fix Bug #11950: make pharcmd use installed phar.so, not build one [remicollet] * fix Bug #12492: filenew incorrectly creates file path [urkle] + * fix Bug #12493: extract throws an error and won\'t open the file [urkle] '; if (!class_exists("Phar") && !extension_loaded("Phar")) { diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index 5787845320..8fc50667b4 100755 --- a/ext/phar/phar/pharcommand.inc +++ b/ext/phar/phar/pharcommand.inc @@ -746,7 +746,7 @@ class PharCommand extends CLICommand } } - $phar = $args['f']['val']; + $phar = $this->args['f']['val']; $base = $phar->getPathname(); $bend = strpos($base, '.phar'); $bend = strpos($base, '/', $bend); |