summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug49600.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug49600.phpt')
-rw-r--r--ext/gd/tests/bug49600.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/bug49600.phpt b/ext/gd/tests/bug49600.phpt
index 1fb84f28bd..25fae3ca37 100644
--- a/ext/gd/tests/bug49600.phpt
+++ b/ext/gd/tests/bug49600.phpt
@@ -8,7 +8,7 @@ Bug #49600 (imageTTFText text shifted right)
?>
--FILE--
<?php
-$cwd = dirname(__FILE__);
+$cwd = __DIR__;
$font = "$cwd/Tuffy.ttf";
$image = imagecreatetruecolor(50, 50);
$color = imagecolorallocate($image, 255, 255, 255);