remove You do not have permission to access this page in demo mode

This commit is contained in:
iBNu Maksum 2024-11-19 13:20:53 +07:00
parent 5445aedcd1
commit 242dda2e99
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -4,9 +4,7 @@
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/) * PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
* by https://t.me/ibnux * by https://t.me/ibnux
**/ **/
if ($_app_stage != 'Live') {
_alert(Lang::T('You do not have permission to access this page in demo mode'), 'danger', "login");
}
if ($_c['disable_registration'] == 'noreg') { if ($_c['disable_registration'] == 'noreg') {
_alert(Lang::T('Registration Disabled'), 'danger', "login"); _alert(Lang::T('Registration Disabled'), 'danger', "login");
} }