mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
do NOT load egw.js a second time via minifyier
This commit is contained in:
parent
87ea75a75b
commit
3fe9c78c26
@ -1604,6 +1604,8 @@ abstract class egw_framework
|
||||
$max_modified = 0;
|
||||
foreach(self::$js_include_mgr->get_included_files($clear_files) as $path)
|
||||
{
|
||||
if ($path == '/phpgwapi/js/jsapi/egw.js') continue; // loaded via own tag, and we must not load it twice!
|
||||
|
||||
$query = '';
|
||||
list($path,$query) = explode('?',$path,2);
|
||||
if (($mod = filemtime(EGW_SERVER_ROOT.$path)) > $max_modified) $max_modified = $mod;
|
||||
|
Loading…
Reference in New Issue
Block a user