Skip to content

Commit 177a25f

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: - fix path
2 parents 33a8e38 + 0404c38 commit 177a25f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/gd/tests/imagecrop_auto.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var_dump(imagesx($im_crop));
5252
var_dump(imagesy($im_crop));
5353

5454
echo "IMG_CROP_THRESHOLD\n";
55-
$im = imagecreatefrompng("logo_noise.png");
55+
$im = imagecreatefrompng(__DIR__ . "/logo_noise.png");
5656
$im_crop = imagecropauto($im, IMG_CROP_THRESHOLD, 0.1, 0x0);
5757
imagepng($im_crop, __DIR__ . "/crop_threshold.png");
5858
var_dump(imagesx($im_crop));
@@ -79,4 +79,4 @@ int(11)
7979
int(11)
8080
IMG_CROP_THRESHOLD
8181
int(240)
82-
int(134)
82+
int(134)

0 commit comments

Comments
 (0)