add sync function

add sync function
fix radius time monthly validity
fix sync button for hotspot with uptime limit and data limit
This commit is contained in:
gerandonk
2024-12-03 11:15:15 +07:00
parent b2ac84900e
commit d6144537c4
8 changed files with 86 additions and 14 deletions

View File

@ -110,7 +110,7 @@ if (isset($_GET['sync']) && !empty($_GET['sync'])) {
if ($_app_stage != 'demo') {
if (file_exists($dvc)) {
require_once $dvc;
(new $p['device'])->add_customer($c, $p);
(new $p['device'])->sync_customer($c, $p);
} else {
new Exception(Lang::T("Devices Not Found"));
}