summaryrefslogtreecommitdiff
path: root/ext/gd/tests/gif2jpg.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/gif2jpg.phpt')
-rw-r--r--ext/gd/tests/gif2jpg.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/gif2jpg.phpt b/ext/gd/tests/gif2jpg.phpt
index 5f32c35960..38d8963271 100644
--- a/ext/gd/tests/gif2jpg.phpt
+++ b/ext/gd/tests/gif2jpg.phpt
@@ -15,7 +15,7 @@ gif --> jpeg conversion test
?>
--FILE--
<?php
- $cwd = dirname(__FILE__);
+ $cwd = __DIR__;
echo "GIF to JPEG conversion: ";
echo imagejpeg(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.jpeg") ? 'ok' : 'failed';