update public config

This commit is contained in:
dongpd 2020-08-11 15:36:52 +07:00
parent d4e47bb29f
commit 513859fe50
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ class ConfigController extends Controller {
} }
public $config_json = [ public $config_json = [
"lang" => "vi",
"camera" => [ "camera" => [
"auto_check" => 1, "auto_check" => 1,
"num_cam" => 2, "num_cam" => 2,

View File

@ -18,7 +18,7 @@ class ConfigTree extends Widget {
public function run() { public function run() {
$public_root = ['engine', 'recognition', 'open_door']; $public_root = ['engine', 'recognition', 'open_door'];
$public_cfg = ['engine|cam_id', 'engine|server_authen', 'recognition|server_recog', 'open_door|enable', 'open_door|port_name']; $public_cfg = ['engine|cam_id', 'engine|server_authen', 'recognition|server_recog', 'open_door|enable', 'open_door|port_name', 'screen|banner', 'lang'];
return $this->render("config-tree", [ return $this->render("config-tree", [
"configLists" => $this->configLists, "configLists" => $this->configLists,