]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/use_packaged_tinymce.patch
Imported Debian patch 0.1~rc2-2
[roundcube.git] / debian / patches / use_packaged_tinymce.patch
1 Index: roundcube-0.1~rc2/program/steps/mail/sendmail.inc
2 ===================================================================
3 --- roundcube-0.1~rc2.orig/program/steps/mail/sendmail.inc      2007-11-26 11:42:36.000000000 +0100
4 +++ roundcube-0.1~rc2/program/steps/mail/sendmail.inc   2007-11-26 11:44:04.000000000 +0100
5 @@ -108,7 +108,7 @@
6      if (! in_array($image_name, $included_images))
7        {
8        // add the image to the MIME message
9 -      $img_file = $INSTALL_PATH . '/' . $searchstr . $image_name;
10 +      $img_file = '/usr/share/tinymce/www/plugins/emotions/images/' . $image_name;
11        if(! $mime_message->addHTMLImage($img_file, 'image/gif', '', true, '_' . $image_name))
12          $OUTPUT->show_message("emoticonerror", 'error');
13