fixed fallback to default (jerryr) css file

This commit is contained in:
Ralf Becker 2005-11-25 08:39:32 +00:00
parent 34d55dc9b8
commit b2acc021b8

View File

@ -27,7 +27,7 @@
$theme_css = $GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/templates/jerryr/css/'.$GLOBALS['egw_info']['user']['preferences']['common']['theme'].'.css';
if(!file_exists($theme_css))
{
$theme_css = $GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/templates/jerryr/css/'.$GLOBALS['egw_info']['user']['preferences']['common']['theme'].'.css';
$theme_css = $GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/templates/jerryr/css/jerryr.css';
}
//pngfix defaults to yes