diff --git a/controllers/ConfigController.php b/controllers/ConfigController.php index a5f910c5..0a5cc47b 100644 --- a/controllers/ConfigController.php +++ b/controllers/ConfigController.php @@ -233,6 +233,10 @@ class ConfigController extends Controller { ]) ] ])), true); + + if (!$checkConfig['status']) + return $this->redirect(['/config']); + $config_json = $this->config_json; if ($checkConfig['status']) $config_json = json_decode($checkConfig['data'], true);