From 939d182faed5d08ac2f2817689d0c6cdd52afbb3 Mon Sep 17 00:00:00 2001 From: Steffen Gebert <steffen.gebert@typo3.org> Date: Mon, 24 Oct 2011 19:14:48 +0200 Subject: [PATCH] [BUGFIX] config.compressJs enables itself Due to a compat_mode backwards compatibility setting, the new option config.compressJs enables itself automatically, although not desired Change-Id: I4ed98d778f152b120b970c75799afc7db5776607 Resolves: #31237 Releases: 4.6 Reviewed-on: http://review.typo3.org/6249 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Jigal van Hemert Tested-by: Jigal van Hemert Reviewed-by: Stefan Galinski Tested-by: Stefan Galinski --- typo3/sysext/cms/tslib/class.tslib_fe.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/cms/tslib/class.tslib_fe.php b/typo3/sysext/cms/tslib/class.tslib_fe.php index 0fecac81a720..72e5cca788bb 100644 --- a/typo3/sysext/cms/tslib/class.tslib_fe.php +++ b/typo3/sysext/cms/tslib/class.tslib_fe.php @@ -2055,9 +2055,10 @@ $this->config['config']['compressJs'] = $this->config['config']['minifyJS']; } } - if (!isset($this->config['config']['compressJs'])) { - $this->config['config']['compressJs'] = 1; - } + } + + if (!isset($this->config['config']['compressJs'])) { + $this->config['config']['compressJs'] = 0; } // Processing for the config_array: -- GitLab