Version 1.6 - Strato Verzeichnis unterhalb tc-ingelfingen
This commit is contained in:
@@ -5,7 +5,7 @@ require __DIR__ . '/app/bootstrap.php';
|
||||
require __DIR__ . '/app/views.php';
|
||||
|
||||
if ($pdo && isInstalled($pdo)) {
|
||||
header('Location: /');
|
||||
header('Location: ' . appPath(''));
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && ($_POST['action'] ?? '') === 'setup
|
||||
trim((string)$_POST['email']),
|
||||
password_hash((string)$_POST['password'], PASSWORD_DEFAULT),
|
||||
]);
|
||||
header('Location: /?page=login');
|
||||
header('Location: ' . appPath('?page=login'));
|
||||
exit;
|
||||
} catch (Throwable $e) {
|
||||
$installError = $e->getMessage();
|
||||
|
||||
Reference in New Issue
Block a user