summaryrefslogtreecommitdiff
path: root/ext/phar/tests/tar/badalias.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/tar/badalias.phpt')
-rw-r--r--ext/phar/tests/tar/badalias.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/tar/badalias.phpt b/ext/phar/tests/tar/badalias.phpt
index 441fc03ae7..532aba8c3c 100644
--- a/ext/phar/tests/tar/badalias.phpt
+++ b/ext/phar/tests/tar/badalias.phpt
@@ -6,7 +6,7 @@ Phar: invalid aliases
<?php if (!extension_loaded("bz2")) die("skip no bz2"); ?>
--FILE--
<?php
-$e = dirname(__FILE__) . '/files/';
+$e = __DIR__ . '/files/';
for ($i = 1; $i <= 5; $i++) {
try {
new Phar($e . "badalias$i.phar.tar");