diff options
Diffstat (limited to 'ext/phar/tests/bug69453.phpt')
-rw-r--r-- | ext/phar/tests/bug69453.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/bug69453.phpt b/ext/phar/tests/bug69453.phpt index 6f280a5351..3309d367c6 100644 --- a/ext/phar/tests/bug69453.phpt +++ b/ext/phar/tests/bug69453.phpt @@ -4,7 +4,7 @@ Phar: bug #69453: Memory Corruption in phar_parse_tarfile when entry filename st <?php if (!extension_loaded("phar")) die("skip"); ?> --FILE-- <?php -$fname = dirname(__FILE__) . '/bug69453.tar.phar'; +$fname = __DIR__ . '/bug69453.tar.phar'; try { $r = new Phar($fname, 0); } catch(UnexpectedValueException $e) { |