New Feature: Maintenance Mode

Maintenance Mode

when enabled user/customer will not be able to login, a maintenance page will be displayed instead.

but all admin users can login
This commit is contained in:
Focuslinkstech
2024-05-21 00:22:40 +01:00
committed by Ibnu Maksum
parent 0bad687f7a
commit 533d46bbf5
6 changed files with 543 additions and 181 deletions

View File

@ -5,6 +5,11 @@
* by https://t.me/ibnux
**/
$maintenance_mode = $config['maintenance_mode'];
if ($maintenance_mode == true){
displayMaintenanceMessage();
}
if (User::getID()) {
r2(U . 'home');
}