mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
do NOT minify ckeditor, as it breaks it (it is already minifyed anyway)
This commit is contained in:
parent
18fe5c1d4b
commit
f7cc51ad18
@ -1270,7 +1270,7 @@ abstract class egw_framework
|
|||||||
if (($mod = filemtime(EGW_SERVER_ROOT.$path)) > $max_modified) $max_modified = $mod;
|
if (($mod = filemtime(EGW_SERVER_ROOT.$path)) > $max_modified) $max_modified = $mod;
|
||||||
|
|
||||||
// for now minify does NOT support query parameters, nor php files generating javascript
|
// for now minify does NOT support query parameters, nor php files generating javascript
|
||||||
if ($debug_minify || $query || substr($path, -3) != '.js')
|
if ($debug_minify || $query || substr($path, -3) != '.js' || strpos($path,'ckeditor') !== false)
|
||||||
{
|
{
|
||||||
$path .= '?'. $mod.($query ? '&'.$query : '');
|
$path .= '?'. $mod.($query ? '&'.$query : '');
|
||||||
$links .= '<script type="text/javascript" src="'. $GLOBALS['egw_info']['server']['webserver_url']. $path.'">'."</script>\n";
|
$links .= '<script type="text/javascript" src="'. $GLOBALS['egw_info']['server']['webserver_url']. $path.'">'."</script>\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user