summaryrefslogtreecommitdiff
path: root/ext/gd/tests/pngcomp.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/pngcomp.phpt')
-rw-r--r--ext/gd/tests/pngcomp.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/pngcomp.phpt b/ext/gd/tests/pngcomp.phpt
index 3fd7b57055..aa663a6dd2 100644
--- a/ext/gd/tests/pngcomp.phpt
+++ b/ext/gd/tests/pngcomp.phpt
@@ -12,7 +12,7 @@ png compression test
?>
--FILE--
<?php
- $cwd = dirname(__FILE__);
+ $cwd = __DIR__;
echo "PNG compression test: ";