remove You do not have permission to access this page in demo mode
This commit is contained in:
parent
5445aedcd1
commit
242dda2e99
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user