mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +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;
|
$max_modified = 0;
|
||||||
foreach(self::$js_include_mgr->get_included_files($clear_files) as $path)
|
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 = '';
|
$query = '';
|
||||||
list($path,$query) = explode('?',$path,2);
|
list($path,$query) = explode('?',$path,2);
|
||||||
if (($mod = filemtime(EGW_SERVER_ROOT.$path)) > $max_modified) $max_modified = $mod;
|
if (($mod = filemtime(EGW_SERVER_ROOT.$path)) > $max_modified) $max_modified = $mod;
|
||||||
|
Loading…
Reference in New Issue
Block a user