mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
missing fallback on skins
This commit is contained in:
parent
d22fb56089
commit
382b12b29a
@ -168,19 +168,18 @@ class egw_ckeditor_config
|
||||
switch ($skin)
|
||||
{
|
||||
case 'silver':
|
||||
$skin = "v2";
|
||||
break;
|
||||
case 'office2003':
|
||||
case 'default':
|
||||
$skin = "kama";
|
||||
break;
|
||||
case 'office2003':
|
||||
$skin = "office2003";
|
||||
case 'moono':
|
||||
$skin = "moono";
|
||||
break;
|
||||
}
|
||||
|
||||
//Check whether the skin actually exists, if not, switch to a default
|
||||
if (!(file_exists($basePath.'skins/'.$skin) || file_exists($skin) || !empty($skin)))
|
||||
$skin = "office2003";
|
||||
$skin = "kama";
|
||||
|
||||
self::$skin = $skin;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user