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)
|
switch ($skin)
|
||||||
{
|
{
|
||||||
case 'silver':
|
case 'silver':
|
||||||
$skin = "v2";
|
case 'office2003':
|
||||||
break;
|
|
||||||
case 'default':
|
case 'default':
|
||||||
$skin = "kama";
|
$skin = "kama";
|
||||||
break;
|
break;
|
||||||
case 'office2003':
|
case 'moono':
|
||||||
$skin = "office2003";
|
$skin = "moono";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check whether the skin actually exists, if not, switch to a default
|
//Check whether the skin actually exists, if not, switch to a default
|
||||||
if (!(file_exists($basePath.'skins/'.$skin) || file_exists($skin) || !empty($skin)))
|
if (!(file_exists($basePath.'skins/'.$skin) || file_exists($skin) || !empty($skin)))
|
||||||
$skin = "office2003";
|
$skin = "kama";
|
||||||
|
|
||||||
self::$skin = $skin;
|
self::$skin = $skin;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user