mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fixed wrong path for existence check of theme-file and the default
This commit is contained in:
parent
0bd82f3ab8
commit
009a58f9a4
@ -32,11 +32,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#_debug_array($GLOBALS['phpgw_info']['user']['preferences']['common']);
|
#_debug_array($GLOBALS['phpgw_info']['user']['preferences']['common']);
|
||||||
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
|
$theme_css = '/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
|
||||||
if(!file_exists($theme_css))
|
if(!file_exists(PHPGW_SERVER_ROOT.$theme_css))
|
||||||
{
|
{
|
||||||
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
|
$theme_css = '/phpgwapi/templates/idots/css/idots.css';
|
||||||
}
|
}
|
||||||
|
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . $theme_css;
|
||||||
|
|
||||||
//pngfix defaults to yes
|
//pngfix defaults to yes
|
||||||
if(!$GLOBALS['phpgw_info']['user']['preferences']['common']['disable_pngfix'])
|
if(!$GLOBALS['phpgw_info']['user']['preferences']['common']['disable_pngfix'])
|
||||||
|
Loading…
Reference in New Issue
Block a user