mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
Fix TinyMCE localization installation (#9266)
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
- Fix PHP8 warnings (#9235, #9238, #9242)
|
||||
- Fix saving other encryption settings besides enigma's (#9240)
|
||||
- Fix unneeded php command use in installto.sh and deluser.sh scripts (#9237)
|
||||
- Fix TinyMCE localization installation (#9266)
|
||||
|
||||
## Release 1.6.5
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ function extract_filetype($package, &$filetype = null)
|
||||
{
|
||||
global $CACHEDIR;
|
||||
|
||||
$filetype = pathinfo($package['url'], PATHINFO_EXTENSION) ?: 'tmp';
|
||||
$filetype = pathinfo(preg_replace('/[?&].*$/', '', $package['url']), PATHINFO_EXTENSION) ?: 'tmp';
|
||||
$cache_file = $CACHEDIR . '/' . $package['lib'] . '-' . $package['version'] . '.' . $filetype;
|
||||
|
||||
// Make sure it is a zip file
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
{
|
||||
"lib": "tinymce-langs",
|
||||
"version": "5.10.9",
|
||||
"url": "https://www.tiny.cloud/tinymce-services-azure/1/i18n/download?langs=ar,hy,az,eu,be,bs,bg_BG,ca,zh_CN,zh_TW,hr,cs,cs_CZ,da,nl,en_CA,en_GB,eo,et,fo,fi,fr_FR,fr_CH,gd,gl,ka_GE,de,de_AT,el,he_IL,hi_IN,hu_HU,is_IS,id,ga,it,ja,kab,km_KH,ko_KR,ku,ku_IQ,lv,lt,lb,mk_MK,ml_IN,nb_NO,oc,fa,fa_IR,pl,pt_BR,pt_PT,ro,ru,sk,sl_SI,es,es_MX,sv_SE,tg,ta,ta_IN,tt,th_TH,tr,tr_TR,ug,uk,uk_UA,vi,vi_VN,cy&v=$v&extension=.zip",
|
||||
"url": "https://download.tiny.cloud/tinymce/community/languagepacks/5/langs.zip?v=$v",
|
||||
"dest": "program/js/tinymce"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user