summaryrefslogtreecommitdiff
path: root/ext/gd/tests/xpm2gd.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/xpm2gd.phpt')
-rw-r--r--ext/gd/tests/xpm2gd.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/xpm2gd.phpt b/ext/gd/tests/xpm2gd.phpt
index 42df3f6213..f48dcb2b3b 100644
--- a/ext/gd/tests/xpm2gd.phpt
+++ b/ext/gd/tests/xpm2gd.phpt
@@ -12,7 +12,7 @@ xpm --> gd1/gd2 conversion test
?>
--FILE--
<?php
- $cwd = dirname(__FILE__);
+ $cwd = __DIR__;
echo "XPM to GD1 conversion: ";
echo imagegd(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.gd1") ? 'ok' : 'failed';