fix check file config

This commit is contained in:
dongpd 2020-05-25 18:01:30 +07:00
parent bac3662c8f
commit b851f4c76f

View File

@ -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);