summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/gzread_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/tests/gzread_basic.phpt')
-rw-r--r--ext/zlib/tests/gzread_basic.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/tests/gzread_basic.phpt b/ext/zlib/tests/gzread_basic.phpt
index b41720c396..813fcd8616 100644
--- a/ext/zlib/tests/gzread_basic.phpt
+++ b/ext/zlib/tests/gzread_basic.phpt
@@ -11,7 +11,7 @@ if (!extension_loaded("zlib")) {
// note that gzread is an alias to fread. parameter checking tests will be
// the same as fread
-$f = dirname(__FILE__)."/004.txt.gz";
+$f = __DIR__."/004.txt.gz";
$h = gzopen($f, 'r');
$lengths = array(10, 14, 7, 99, 2000);