summaryrefslogtreecommitdiff
path: root/ext/phar/tests/zip/corrupt_010.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/zip/corrupt_010.phpt')
-rw-r--r--ext/phar/tests/zip/corrupt_010.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/zip/corrupt_010.phpt b/ext/phar/tests/zip/corrupt_010.phpt
index b95a03272a..4643cae070 100644
--- a/ext/phar/tests/zip/corrupt_010.phpt
+++ b/ext/phar/tests/zip/corrupt_010.phpt
@@ -5,7 +5,7 @@ Phar: unable to process zip (zip spanning multiple archives)
--FILE--
<?php
try {
- new PharData(dirname(__FILE__) . '/files/disknumber.zip');
+ new PharData(__DIR__ . '/files/disknumber.zip');
} catch (Exception $e) {
echo $e->getMessage() . "\n";
}