| Conditions | 3 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function postSave() |
||
| 31 | { |
||
| 32 | foreach(request()->except("_token") as $key=>$val) { |
||
| 33 | putSetting( $key, $val); |
||
| 34 | } |
||
| 35 | |||
| 36 | if(request("login_background_cover")) { |
||
| 37 | putSetting("login_background_cover", "on"); |
||
| 38 | } else { |
||
| 39 | putSetting("login_background_cover", ""); |
||
| 40 | } |
||
| 41 | |||
| 42 | return cb()->redirectBack("Appearance has been updated!","success"); |
||
| 43 | } |
||
| 44 | } |