summaryrefslogtreecommitdiff
path: root/ext/phar/tests/create_path_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/create_path_error.phpt')
-rw-r--r--ext/phar/tests/create_path_error.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/create_path_error.phpt b/ext/phar/tests/create_path_error.phpt
index fd200d8613..047e7e3806 100644
--- a/ext/phar/tests/create_path_error.phpt
+++ b/ext/phar/tests/create_path_error.phpt
@@ -8,7 +8,7 @@ phar.require_hash=1
--FILE--
<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
+$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
$pname = 'phar://' . $fname;
@unlink($fname);
@@ -62,7 +62,7 @@ foreach($checks as $check)
?>
===DONE===
--CLEAN--
-<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
+<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
--EXPECTF--
string(5) "query"
string(5) "query"