From 7750a278a1ba02d1d944de02c39b63567f40b8b3 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Thu, 5 May 2016 11:19:12 +0900 Subject: [PATCH] Do not combine scripts in the body section --- classes/frontendfile/FrontEndFileHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index bd3d116b4..fa9d44b9a 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -470,7 +470,7 @@ class FrontEndFileHandler extends Handler // Add all files to the final result. $result = array(); - if ($concat && count($concat_list = $this->_concatMap($map))) + if ($concat && $type === 'head' && count($concat_list = $this->_concatMap($map))) { foreach ($concat_list as $concat_fileset) {