| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 54 | public function save(): ?Response |
||
| 55 | { |
||
| 56 | $this->getRequest()->allowMethod(['post']); |
||
| 57 | $data = (array)$this->getRequest()->getData(); |
||
| 58 | $modules = (string)Hash::get($data, 'Modules'); |
||
| 59 | $this->Config->save('Modules', (array)json_decode($modules, true)); |
||
| 60 | |||
| 61 | return $this->redirect(['_name' => 'admin:list:appearence']); |
||
| 62 | } |
||
| 64 |