| @@ -103,16 +103,14 @@ | ||
| 103 | 103 | * @return CJTController |
| 104 | 104 | */ |
| 105 | 105 | public function __construct($hasView = null, |
| 106 | 106 | $request = null, |
| 107 | - $overrideControllerPath = '', | |
| 107 | + $overrideControllerPath = null, | |
| 108 | 108 | $overrideContollerPrefix = null) { |
| 109 | 109 | // Initialize hookable! |
| 110 | 110 | parent::__construct(); |
| 111 | 111 | // Read request parameters. |
| 112 | 112 | $this->request = array_merge(((array) $_REQUEST), ((array) $request)); |
| 113 | - | |
| 114 | - $overrideControllerPath = $overrideControllerPath ? null : ''; | |
| 115 | 113 | // Create default model. |
| 116 | 114 | if (isset($this->controllerInfo['model'])) { |
| 117 | 115 | // E_ALL complain! |
| 118 | 116 | if (!isset($this->controllerInfo['model_file'])) { |