mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 19:39:26 +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
7ae00ad8a2
commit
ed1f368a59
@ -1250,7 +1250,7 @@ abstract class egw_framework
|
||||
{
|
||||
$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);
|
||||
}
|
||||
|
||||
@ -1262,7 +1262,7 @@ abstract class egw_framework
|
||||
{
|
||||
$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