PluginProbe
CSS & JavaScript Toolbox / 6.1
CSS & JavaScript Toolbox v6.1
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | controllers/blocks.php +7 -0 6.06.1 View file →
@@ -71,8 +71,15 @@
71 71 * put your comment there...
72 72 *
73 73 */
74 74 protected function installAction() {
75 + // Initialize.
76 + $model = $this->getModel('installer');
77 + // Do fresh installation if the installed version and the
78 + // current version doesn't share the same release and edition signs.
79 + if ($model->isUpgrade() && $model->isCommonRelease()) {
80 + $this->request['layout'] = 'upgrade';
81 + }
75 82 echo parent::displayAction();
76 83 }
77 84
78 85 /**