mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-01 19:09:30 +01:00
"fixed wrong build pass, causing an open_basdir warning, as url get appended to egroupware dir"
This commit is contained in:
parent
39ef00b23f
commit
d08659a57b
@ -593,7 +593,7 @@ abstract class egw_framework
|
|||||||
$theme_css = $GLOBALS['egw_info']['server']['webserver_url'] . $theme_css .'?'.filemtime(EGW_SERVER_ROOT.$theme_css);
|
$theme_css = $GLOBALS['egw_info']['server']['webserver_url'] . $theme_css .'?'.filemtime(EGW_SERVER_ROOT.$theme_css);
|
||||||
|
|
||||||
$print_css = '/phpgwapi/templates/'.$this->template.'/print.css';
|
$print_css = '/phpgwapi/templates/'.$this->template.'/print.css';
|
||||||
if(!file_exists(EGW_SERVER_ROOT.$theme_css))
|
if(!file_exists(EGW_SERVER_ROOT.$print_css))
|
||||||
{
|
{
|
||||||
$print_css = '/phpgwapi/templates/idots/print.css';
|
$print_css = '/phpgwapi/templates/idots/print.css';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user