summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug51263.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug51263.phpt')
-rw-r--r--ext/gd/tests/bug51263.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/bug51263.phpt b/ext/gd/tests/bug51263.phpt
index 69496e011b..6f14cd3c98 100644
--- a/ext/gd/tests/bug51263.phpt
+++ b/ext/gd/tests/bug51263.phpt
@@ -7,7 +7,7 @@ Bug #51263 (imagettftext and rotated text uses wrong baseline)
?>
--FILE--
<?php
-$cwd = dirname(__FILE__);
+$cwd = __DIR__;
$ttf = "$cwd/Tuffy.ttf";
$w = 23;
$h = 70;