| Conditions | 3 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function doIndex(): bool |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * TODO: The value of this variable will be filled in when the roles |
||
| 30 | * are correctly implemented. |
||
| 31 | */ |
||
| 32 | $restricted_access = false; |
||
| 33 | |||
| 34 | $this->template = 'page/config'; |
||
| 35 | if (isset($this->config) && $restricted_access) { |
||
| 36 | $this->template = 'page/forbidden'; |
||
| 37 | } |
||
| 38 | return true; |
||
| 39 | } |
||
| 47 |