Update the install.php

- Updated to work with latest changes
- Updated a few setting defaults
This commit is contained in:
Mark J Crane
2025-10-19 20:51:41 -06:00
parent 6397baad34
commit 2d6fbf5741
14 changed files with 56 additions and 80 deletions

View File

@@ -43,7 +43,7 @@
else {
//use custom index, if present, otherwise use custom login, if present, otherwise use default login
if (file_exists($_SERVER["PROJECT_ROOT"]."/themes/".($settings->get('domain', 'template') ?? '')."/index.php")) {
require_once "themes/".$settings->get('domain', 'template')."/index.php";
require_once "themes/".$settings->get('domain', 'template', 'default')."/index.php";
}
else {
//login prompt