@@ -52,14 +52,14 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | public function index() { |
| 54 | 54 | $order = json_decode($this->util->getAppOrder()); |
| 55 | - if($order !== null && sizeof($order)>0) { |
|
| 55 | + if ($order !== null && sizeof($order) > 0) { |
|
| 56 | 56 | $firstPage = $order[0]; |
| 57 | 57 | } else { |
| 58 | 58 | $appId = 'files'; |
| 59 | - if(getenv('front_controller_active') === 'true') { |
|
| 60 | - $firstPage = $this->urlGenerator->getAbsoluteURL('/apps/' . $appId . '/'); |
|
| 59 | + if (getenv('front_controller_active') === 'true') { |
|
| 60 | + $firstPage = $this->urlGenerator->getAbsoluteURL('/apps/'.$appId.'/'); |
|
| 61 | 61 | } else { |
| 62 | - $firstPage = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . $appId . '/'); |
|
| 62 | + $firstPage = $this->urlGenerator->getAbsoluteURL('/index.php/apps/'.$appId.'/'); |
|
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | return new RedirectResponse($firstPage); |