| @@ -47,11 +47,9 @@ | ||
| 47 | 47 | if ($this->hasAccess()) { |
| 48 | 48 | // Set as connected object! |
| 49 | 49 | $this->connected(); |
| 50 | 50 | // Set controller internal parameters. |
| 51 | - $_REQUEST['view'] = 'installer/install'; | |
| 52 | - // create controller. | |
| 53 | - return $this->route() | |
| 51 | + return $this->route(null, array('view' => 'installer/install')) | |
| 54 | 52 | // Set Action |
| 55 | 53 | ->setAction('install'); |
| 56 | 54 | } |
| 57 | 55 | } |
| @@ -64,11 +62,9 @@ | ||
| 64 | 62 | // Show Not installed admin notice only |
| 65 | 63 | // if there is no access point processed/connected the request |
| 66 | 64 | if (!$this->stopNotices) { |
| 67 | 65 | // Set MVC request parameters. |
| 68 | - $_REQUEST['view'] = 'installer/notice'; | |
| 69 | - // Instantiate installer cotroller and fire notice action! | |
| 70 | - $this->route() | |
| 66 | + $this->route(null , array('view' => 'installer/notice')) | |
| 71 | 67 | // Set action name. |
| 72 | 68 | ->setAction('notInstalledNotice') |
| 73 | 69 | // Fire action! |
| 74 | 70 | ->_doAction(); |