PluginProbe
CSS & JavaScript Toolbox / 6.0.6
CSS & JavaScript Toolbox v6.0.6
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 | framework/access-points/access-point.class.php +1 -28 11.36.0.6 View file →
@@ -84,22 +84,8 @@
84 84 * put your comment there...
85 85 *
86 86 * @var mixed
87 87 */
88 - protected $overrideControllersPath = null;
89 -
90 - /**
91 - * put your comment there...
92 - *
93 - * @var mixed
94 - */
95 - protected $overrideControllersPrefix = null;
96 -
97 - /**
98 - * put your comment there...
99 - *
100 - * @var mixed
101 - */
102 88 protected $pageId = CJTPlugin::PLUGIN_REQUEST_ID;
103 89
104 90 /**
105 91 * put your comment there...
@@ -107,14 +93,8 @@
107 93 */
108 94 public function __construct($defaultController = 'blocks') {
109 95 // Initialize Hookable.
110 96 parent::__construct();
111 - // Overrides controllers path using current Access Point model class path
112 - $accessPointClassLoader =& CJT_Framework_Autoload_Loader::findClassLoader(get_class($this));
113 - if ($accessPointClassLoader) {
114 - $this->overrideControllersPath = $accessPointClassLoader->getPath() . DIRECTORY_SEPARATOR . 'controllers';
115 - $this->overrideControllersPrefix = $accessPointClassLoader->getPrefix();
116 - }
117 97 // Initialize!
118 98 $this->controllerName = $this->ongetdefaultcontrollername(isset($_REQUEST['controller']) ? $_REQUEST['controller'] : $defaultController);
119 99 }
120 100
@@ -202,16 +182,9 @@
202 182 if (!$this->controller) {
203 183 // Import view class.
204 184 require_once CJTOOLBOX_MVC_FRAMEWOK . '/view.inc.php';
205 185 // Instantiate controller!
206 - $this->controller = $this->onsetcontroller(
207 - CJTController::getInstance(
208 - $this->controllerName,
209 - $loadView,
210 - $request,
211 - $this->overrideControllersPath,
212 - $this->overrideControllersPrefix
213 - ));
186 + $this->controller = $this->onsetcontroller(CJTController::getInstance($this->controllerName, $loadView, $request));
214 187 }
215 188 return $this->controller;
216 189 }
217 190