summaryrefslogtreecommitdiff
path: root/ext/phar/tests/zip/corrupt_003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/zip/corrupt_003.phpt')
-rw-r--r--ext/phar/tests/zip/corrupt_003.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/zip/corrupt_003.phpt b/ext/phar/tests/zip/corrupt_003.phpt
index 40c5ff1877..e076a4eb8f 100644
--- a/ext/phar/tests/zip/corrupt_003.phpt
+++ b/ext/phar/tests/zip/corrupt_003.phpt
@@ -5,7 +5,7 @@ Phar: corrupted zip (truncated file comment)
--FILE--
<?php
try {
- new PharData(dirname(__FILE__) . '/files/filecomment.zip');
+ new PharData(__DIR__ . '/files/filecomment.zip');
} catch (Exception $e) {
echo $e->getMessage() . "\n";
}