fix check file config
This commit is contained in:
parent
bac3662c8f
commit
b851f4c76f
|
@ -233,6 +233,10 @@ class ConfigController extends Controller {
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
])), true);
|
])), true);
|
||||||
|
|
||||||
|
if (!$checkConfig['status'])
|
||||||
|
return $this->redirect(['/config']);
|
||||||
|
|
||||||
$config_json = $this->config_json;
|
$config_json = $this->config_json;
|
||||||
if ($checkConfig['status'])
|
if ($checkConfig['status'])
|
||||||
$config_json = json_decode($checkConfig['data'], true);
|
$config_json = json_decode($checkConfig['data'], true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user