Commit:    0404c38615b54f6ea58ebd16f104da03f1202324
Author:    Pierre Joye <pierre....@gmail.com>         Mon, 4 Mar 2013 14:14:09 
+0100
Parents:   e9a2642c8913736be422938b555fd37d2f6ce5ef
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=0404c38615b54f6ea58ebd16f104da03f1202324

Log:
- fix path

Changed paths:
  M  ext/gd/tests/imagecrop_auto.phpt


Diff:
diff --git a/ext/gd/tests/imagecrop_auto.phpt b/ext/gd/tests/imagecrop_auto.phpt
index 1860e39..c2b5177 100644
--- a/ext/gd/tests/imagecrop_auto.phpt
+++ b/ext/gd/tests/imagecrop_auto.phpt
@@ -52,7 +52,7 @@ var_dump(imagesx($im_crop));
 var_dump(imagesy($im_crop));
 
 echo "IMG_CROP_THRESHOLD\n";
-$im = imagecreatefrompng("logo_noise.png");
+$im = imagecreatefrompng(__DIR__ . "/logo_noise.png");
 $im_crop = imagecropauto($im, IMG_CROP_THRESHOLD, 0.1, 0x0);
 imagepng($im_crop, __DIR__ . "/crop_threshold.png");
 var_dump(imagesx($im_crop));
@@ -79,4 +79,4 @@ int(11)
 int(11)
 IMG_CROP_THRESHOLD
 int(240)
-int(134)
\ No newline at end of file
+int(134)


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to