mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
allways using filemtime for timestamps appended to urls to force loading of current version, as mixed use of file{c,m}time causes wired errors due to double loading eg. on OS X where they are different
This commit is contained in:
parent
755b08feaa
commit
ad4776c78e
@ -1405,7 +1405,7 @@ $LAB.setOptions({AlwaysPreserveOrder:true,BasePath:"'.$GLOBALS['egw_info']['serv
|
||||
{
|
||||
$query = '';
|
||||
list($path,$query) = explode('?',$path,2);
|
||||
$path .= '?'. filectime(EGW_SERVER_ROOT.$path).($query ? '&'.$query : '');
|
||||
$path .= '?'. filemtime(EGW_SERVER_ROOT.$path).($query ? '&'.$query : '');
|
||||
$response->includeCSS($GLOBALS['egw_info']['server']['webserver_url'].$path);
|
||||
}
|
||||
|
||||
@ -1418,7 +1418,7 @@ $LAB.setOptions({AlwaysPreserveOrder:true,BasePath:"'.$GLOBALS['egw_info']['serv
|
||||
{
|
||||
$query = '';
|
||||
list($path,$query) = explode('?',$path,2);
|
||||
$path .= '?'. filectime(EGW_SERVER_ROOT.$path).($query ? '&'.$query : '');
|
||||
$path .= '?'. filemtime(EGW_SERVER_ROOT.$path).($query ? '&'.$query : '');
|
||||
$response->includeScript($GLOBALS['egw_info']['server']['webserver_url'].$path);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user