summaryrefslogtreecommitdiff
path: root/ext/zip/tests/bug70350.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/tests/bug70350.phpt')
-rw-r--r--ext/zip/tests/bug70350.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/tests/bug70350.phpt b/ext/zip/tests/bug70350.phpt
index d81de65a32..9308f39187 100644
--- a/ext/zip/tests/bug70350.phpt
+++ b/ext/zip/tests/bug70350.phpt
@@ -7,7 +7,7 @@ if(!extension_loaded('zip')) die('skip');
--FILE--
<?php
-$dir = dirname(__FILE__)."/bug70350";
+$dir = __DIR__."/bug70350";
mkdir($dir);
$archive = new ZipArchive();
$archive->open("$dir/a.zip",ZipArchive::CREATE);
@@ -23,7 +23,7 @@ var_dump(file_exists("../down2/"));
?>
--CLEAN--
<?php
-$dir = dirname(__FILE__)."/bug70350";
+$dir = __DIR__."/bug70350";
rmdir("$dir/down2");
unlink("$dir/a.zip");
rmdir($dir);