mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
* Api: Fix custom etemplates were still used after deletion
This commit is contained in:
parent
73ca6ead2f
commit
a91d4cf574
@ -106,7 +106,7 @@ function send_template()
|
||||
exit;
|
||||
}
|
||||
$cache = $GLOBALS['egw_info']['server']['temp_dir'] . '/egw_cache/eT2-Cache-' .
|
||||
$GLOBALS['egw_info']['server']['install_id'].'-'.str_replace('/', '-', $_SERVER['PATH_INFO']);
|
||||
$GLOBALS['egw_info']['server']['install_id'] . '-' . str_replace('/', '-', $_SERVER['PATH_INFO']) . '-' . filemtime($path);
|
||||
if (PHP_SAPI !== 'cli' && file_exists($cache) && filemtime($cache) > max(filemtime($path), filemtime(__FILE__)) &&
|
||||
($str = file_get_contents($cache)) !== false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user