summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug72339.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug72339.phpt')
-rw-r--r--ext/gd/tests/bug72339.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/bug72339.phpt b/ext/gd/tests/bug72339.phpt
index eac5b630b2..d63ce67c55 100644
--- a/ext/gd/tests/bug72339.phpt
+++ b/ext/gd/tests/bug72339.phpt
@@ -9,7 +9,7 @@ if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
?>
--FILE--
<?php
-$fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug72339.gd";
+$fname = __DIR__ . DIRECTORY_SEPARATOR . "bug72339.gd";
$fh = fopen($fname, "w");
fwrite($fh, "gd2\x00");