fix check file config
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user