PluginProbe
CSS & JavaScript Toolbox / 6.0.9
CSS & JavaScript Toolbox v6.0.9
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 | access.points/main.accesspoint.php +6 -4 6.06.0.9 View file →
@@ -50,11 +50,13 @@
50 50 * put your comment there...
51 51 *
52 52 */
53 53 public function main() {
54 - // Run the coupling!
55 - $this->controllerName = 'blocks-coupling';
56 - $this->route();
54 + // Run the coupling only if installed!
55 + if (CJTPlugin::getInstance()->isInstalled()) {
56 + $this->controllerName = 'blocks-coupling';
57 + $this->route(false);
58 + }
57 59 // Run all the aother access points!
58 60 CJTPlugin::getInstance()->listen();
59 61 }
60 62
@@ -66,9 +68,9 @@
66 68 // Get the only instance we've for the main access point!
67 69 $mainAccessPointObject = self::$instance;
68 70 // Load default controller!
69 71 $mainAccessPointObject->controllerName = 'default';
70 - $controller = $mainAccessPointObject->route()
72 + $controller = $mainAccessPointObject->route(false)
71 73 // Fire uninstall action!
72 74 ->setAction('uninstall')
73 75 ->_doAction();
74 76 return $controller;