? contrib/image_attach/test.patch
Index: image.imagemagick.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.imagemagick.inc,v
retrieving revision 1.3.2.4
diff -u -r1.3.2.4 image.imagemagick.inc
--- image.imagemagick.inc	4 Apr 2007 22:02:59 -0000	1.3.2.4
+++ image.imagemagick.inc	28 Jun 2007 16:41:09 -0000
@@ -40,8 +40,9 @@
     return TRUE;
   }
   if ($attach_error_to) {
-    if (ini_get('open_basedir')) {
-      form_set_error($attach_error_to, t("No file %file could be found. PHP's <a href='@open-basedir'>open_basedir</a> security resriction may be interfearing with the attempts to locate it.", array('%file' => $path, '@open-basedir' => url('http://us2.php.net/features.safe-mode') )));
+    $open_basedir = ini_get('open_basedir');
+    if ($open_basedir) {
+      form_set_error($attach_error_to, t("No file %file could be found. PHP's <a href='!open-basedir'>open_basedir</a> security resriction is set to %open-basedir, which may be interfearing with the attempts to locate ImageMagick.", array('%file' => $path, '%open-basedir' => $open_basedir, '!info-link' => url('http://us2.php.net/features.safe-mode') )));
     }
     else {
       form_set_error($attach_error_to, t('The specified ImageMagic path %file does not exist.', array('%file' => $path)));
