Patch Update

fix moon custom login page logo not showing after upload
add registration now allowed in demo mode, add warning when registration is disabled
This commit is contained in:
Focuslinkstech
2024-11-16 16:59:42 +01:00
parent 318b52905d
commit 16199b4c18
4 changed files with 85 additions and 4 deletions

View File

@ -4,7 +4,12 @@
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
* 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') {
_alert(Lang::T('Registration Disabled'), 'danger', "login");
}
if (isset($routes['1'])) {
$do = $routes['1'];
} else {