[BUGFIX] config.compressJs enables itself
authorSteffen Gebert <steffen.gebert@typo3.org>
Mon, 24 Oct 2011 17:14:48 +0000 (19:14 +0200)
committerStefan Galinski <stefan.galinski@gmail.com>
Mon, 24 Oct 2011 19:17:52 +0000 (21:17 +0200)
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

index 0fecac8..72e5cca 100644 (file)
                                                                $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: