From c31601581f5983b33d09b0ddc0d97a6a14dbfefc Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Sat, 6 Jul 2024 22:51:46 +0700 Subject: [PATCH 1/3] fix variabel voucher_redirect --- ui/ui/app-settings.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui/app-settings.tpl b/ui/ui/app-settings.tpl index c052d763..c3d215a1 100644 --- a/ui/ui/app-settings.tpl +++ b/ui/ui/app-settings.tpl @@ -200,7 +200,7 @@
+ placeholder="https://192.168.88.1/status" value="{$_c['voucher_redirect']}">

{Lang::T('After Customer activate voucher or login, customer will be redirected to this From d042879812021f199c4df1328f6e9c62c90a7314 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Wed, 10 Jul 2024 16:02:04 +0700 Subject: [PATCH 2/3] fix nas add --- system/controllers/radius.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/controllers/radius.php b/system/controllers/radius.php index 24e6b8ac..72b1e155 100644 --- a/system/controllers/radius.php +++ b/system/controllers/radius.php @@ -57,8 +57,7 @@ switch ($action) { } if ($msg == '') { require_once $DEVICE_PATH . DIRECTORY_SEPARATOR . "Radius.php"; - (new Radius())->nasAdd($shortname, $nasname, $ports, $secret, $routers, $description, $type, $server, $community); - if ($id > 0) { + if ((new Radius())->nasAdd($shortname, $nasname, $ports, $secret, $routers, $description, $type, $server, $community) > 0) { r2(U . 'radius/nas-list/', 's', "NAS Added"); } else { r2(U . 'radius/nas-add/', 'e', "NAS Added Failed"); From 5e1195c66d30282d2a4009f3954c71a725035776 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Wed, 10 Jul 2024 16:02:14 +0700 Subject: [PATCH 3/3] update installation --- install/step2.php | 4 +++- install/step3.php | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/install/step2.php b/install/step2.php index 616201db..8bbcd1a2 100644 --- a/install/step2.php +++ b/install/step2.php @@ -51,7 +51,9 @@ if ($passed == '111') { echo ("
$ltext
Great! System Test Completed. You can run PHPNuxBill on your server. Click Continue For Next Step.

- Continue

Update System"); + Update System From PHPMixBill +



+ Continue to Install PHPNuxBill

"); } else { echo ("
$ltext
Sorry. The requirements of PHPNuxBill is not available on your server. Contact with us at Telegram @phpnuxbill with this code- $passed Or contact with your server administrator diff --git a/install/step3.php b/install/step3.php index 21b18104..696a12f6 100644 --- a/install/step3.php +++ b/install/step3.php @@ -59,8 +59,8 @@

- - + + You Don't need this if you planning to use FreeRadius REST