summaryrefslogtreecommitdiff
path: root/ext/gd/tests/xbm2png.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/xbm2png.phpt')
-rw-r--r--ext/gd/tests/xbm2png.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/xbm2png.phpt b/ext/gd/tests/xbm2png.phpt
index 7eaabc410b..8dcd07bc4a 100644
--- a/ext/gd/tests/xbm2png.phpt
+++ b/ext/gd/tests/xbm2png.phpt
@@ -14,7 +14,7 @@ xbm --> png conversion test
?>
--FILE--
<?php
- $cwd = dirname(__FILE__);
+ $cwd = __DIR__;
echo "XBM to PNG conversion: ";
echo imagepng(imagecreatefromxbm($cwd . "/conv_test.xbm"), $cwd . "/test_xbm.png") ? 'ok' : 'failed';