mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-28 13:58:24 +02:00
remove You do not have permission to access this page in demo mode
This commit is contained in:
parent
5445aedcd1
commit
242dda2e99
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue