Redirect to login page when isntalled

This commit is contained in:
Jay Trees 2022-01-14 10:07:50 +01:00
parent 462135365f
commit a65e3724f4

View file

@ -8,6 +8,11 @@
use wishthis\{Page, Database};
if ($database->getOption('isInstalled')) {
header('Location: /?page=login');
die();
}
$page = new page(__FILE__, 'Install');
$page->header();