mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Made CKEditor checking, whether the given skin actually exists
This commit is contained in:
parent
b43a3843d2
commit
99106024c4
@ -643,7 +643,11 @@ class html
|
||||
|
||||
if (isset($GLOBALS['egw_info']['user']['preferences']['common']['rte_skin']))
|
||||
{
|
||||
$oCKeditor->config['skin'] = $GLOBALS['egw_info']['user']['preferences']['common']['rte_skin'];
|
||||
$skin = $GLOBALS['egw_info']['user']['preferences']['common']['rte_skin'];
|
||||
|
||||
//Check whether the skin actually exists
|
||||
if (file_exists($basePath.'skins/'.$skin) || file_exists($skin))
|
||||
$oCKeditor->config['skin'] = $skin;
|
||||
}
|
||||
|
||||
//$oCKeditor->config['spellchecker'] = 'SpellCheck';
|
||||
|
Loading…
Reference in New Issue
Block a user