diff options
Diffstat (limited to 'ext/gd/tests/gif.phpt')
-rw-r--r-- | ext/gd/tests/gif.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/tests/gif.phpt b/ext/gd/tests/gif.phpt index a28fadf9a8..218ef50fa4 100644 --- a/ext/gd/tests/gif.phpt +++ b/ext/gd/tests/gif.phpt @@ -13,7 +13,7 @@ gif in/out <?php function check_box($r,$g,$b, $error=0) { - $cwd = dirname(__FILE__); + $cwd = __DIR__; $im2 = imagecreatefromgif($cwd . '/test_gif.gif'); $c = imagecolorsforindex($im2, imagecolorat($im2, 8,8)); @@ -42,7 +42,7 @@ function check_box($r,$g,$b, $error=0) { } } } -$cwd = dirname(__FILE__); +$cwd = __DIR__; $im = imagecreate(10,10); $c = imagecolorallocate($im, 255,255,255); |