diff options
Diffstat (limited to 'ext/gd/tests/bug43121.phpt')
-rw-r--r-- | ext/gd/tests/bug43121.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/bug43121.phpt b/ext/gd/tests/bug43121.phpt index 08348d0012..1c3a7e5bc7 100644 --- a/ext/gd/tests/bug43121.phpt +++ b/ext/gd/tests/bug43121.phpt @@ -12,7 +12,7 @@ Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) $im = ImageCreate( 200, 100 ); $black = ImageColorAllocate( $im, 0, 0, 0 ); -$im_tile = ImageCreateFromGif(dirname(__FILE__) . "/bug43121.gif" ); +$im_tile = ImageCreateFromGif(__DIR__ . "/bug43121.gif" ); ImageSetTile( $im, $im_tile ); ImageFill( $im, 0, 0, IMG_COLOR_TILED ); |