]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/use_packaged_tinymce.patch
438267306797d0fd724beb73bdc5c0559634377c
[roundcube.git] / debian / patches / use_packaged_tinymce.patch
1 Use tinymce from tinycme package instead of the shipped one.
2
3 Index: b/program/steps/mail/sendmail.inc
4 ===================================================================
5 --- a/program/steps/mail/sendmail.inc   2009-10-14 12:52:27.000000000 +0200
6 +++ b/program/steps/mail/sendmail.inc   2010-07-17 17:33:23.000000000 +0200
7 @@ -115,7 +115,7 @@
8  
9          // sanitize image name so resulting attachment doesn't leave images dir
10          $image_name = preg_replace('/[^a-zA-Z0-9_\.\-]/i', '', $image_name);
11 -        $img_file = INSTALL_PATH . '/' . $searchstr . $image_name;
12 +        $img_file = '/usr/share/tinymce/www/plugins/emotions/img/' . $image_name;
13  
14          if (! in_array($image_name, $included_images)) {
15            // add the image to the MIME message