X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fpatches%2Fuse_packaged_tinymce.patch;h=f2a7a91b4b6f455476c66b88a8c853b48c8cd91e;hb=6d874e8dce69da7c14befd19167ce97498d7210b;hp=7b3a1ffc00535fffda5d737e47a6fe77dff85b99;hpb=baa29d590c64f3f1bbc9e99cd7a5ee884b164f7b;p=roundcube.git diff --git a/debian/patches/use_packaged_tinymce.patch b/debian/patches/use_packaged_tinymce.patch index 7b3a1ff..f2a7a91 100644 --- a/debian/patches/use_packaged_tinymce.patch +++ b/debian/patches/use_packaged_tinymce.patch @@ -4,10 +4,10 @@ Use tinymce from tinycme package instead of the shipped one. +++ roundcube-0.1~rc2/program/steps/mail/sendmail.inc 2007-11-26 11:44:04.000000000 +0100 @@ -123,7 +123,7 @@ - // sanitize image name so resulting attachment doesn't leave images dir - $image_name = preg_replace('/[^a-zA-Z0-9_\.\-]/i','',$image_name); -- $img_file = INSTALL_PATH . '/' . $searchstr . $image_name; -+ $img_file = '/usr/share/tinymce/www/plugins/emotions/img/' . $image_name; + // sanitize image name so resulting attachment doesn't leave images dir + $image_name = preg_replace('/[^a-zA-Z0-9_\.\-]/i', '', $image_name); +- $img_file = INSTALL_PATH . '/' . $searchstr . $image_name; ++ $img_file = '/usr/share/tinymce/www/plugins/emotions/img/' . $image_name; - if (! in_array($image_name, $included_images)) - { + if (! in_array($image_name, $included_images)) { + // add the image to the MIME message