mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-02 06:04:22 +02:00
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:
parent
b2ac84900e
commit
d6144537c4
8 changed files with 86 additions and 14 deletions
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue