summaryrefslogtreecommitdiff
path: root/ext/zip/tests/oo_addpattern.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/tests/oo_addpattern.phpt')
-rw-r--r--ext/zip/tests/oo_addpattern.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/tests/oo_addpattern.phpt b/ext/zip/tests/oo_addpattern.phpt
index 193f828496..a66ecba312 100644
--- a/ext/zip/tests/oo_addpattern.phpt
+++ b/ext/zip/tests/oo_addpattern.phpt
@@ -38,7 +38,7 @@ if ($zip->status == ZIPARCHIVE::ER_OK) {
?>
--CLEAN--
<?php
-$dirname = dirname(__FILE__) . '/oo_addpattern_dir/';
+$dirname = __DIR__ . '/oo_addpattern_dir/';
unlink($dirname . 'tmp.zip');
unlink($dirname . 'foo.txt');
unlink($dirname . 'bar.txt');