]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/use_packaged_tinymce.patch
Refresh all patches.
[roundcube.git] / debian / patches / use_packaged_tinymce.patch
1 Use tinymce from tinycme package instead of the shipped one.
2
3 Index: roundcube/program/steps/mail/sendmail.inc
4 ===================================================================
5 --- roundcube.orig/program/steps/mail/sendmail.inc      2012-09-29 11:30:58.259119253 +0200
6 +++ roundcube/program/steps/mail/sendmail.inc   2012-09-29 11:31:45.368061359 +0200
7 @@ -118,7 +118,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