summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug48801-mb.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug48801-mb.phpt')
-rw-r--r--ext/gd/tests/bug48801-mb.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/bug48801-mb.phpt b/ext/gd/tests/bug48801-mb.phpt
index a2f6d28a82..1793ac3386 100644
--- a/ext/gd/tests/bug48801-mb.phpt
+++ b/ext/gd/tests/bug48801-mb.phpt
@@ -8,7 +8,7 @@ Bug #48801 (Problem with imagettfbbox)
?>
--FILE--
<?php
-$cwd = dirname(__FILE__);
+$cwd = __DIR__;
$font = "$cwd/Tuffy私はガラスを食べられます.ttf";
$bbox = imageftbbox(50, 0, $font, "image");
echo '(' . $bbox[0] . ', ' . $bbox[1] . ")\n";