still thinking about which function need to add as default. currently customer, plan, pool

This commit is contained in:
Ibnu Maksum
2024-06-04 17:14:04 +07:00
parent 97f724c8c2
commit 0cc1ffe90f
7 changed files with 776 additions and 1061 deletions

View File

@ -50,6 +50,7 @@ if (!file_exists($root_path . File::pathFixer('system/orm.php'))) {
die($root_path . "orm.php file not found");
}
$DEVICE_PATH = $root_path . File::pathFixer('system/devices');
$UPLOAD_PATH = $root_path . File::pathFixer('system/uploads');
$CACHE_PATH = $root_path . File::pathFixer('system/cache');
$PAGES_PATH = $root_path . File::pathFixer('pages');
@ -332,7 +333,7 @@ function displayMaintenanceMessage(): void
$date = $config['maintenance_date'];
if ($date){
$ui->assign('date', $date);
}
}
http_response_code(503);
$ui->assign('companyName', $config['CompanyName']);
$ui->display('maintenance.tpl');