Update register.php

This commit is contained in:
Mario 2023-01-25 22:05:34 +02:00 committed by GitHub
parent 4a2ecd994f
commit 5282fc056c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>grublock | register</title>
<?php
if(isset($_SESSION['user'])) {
header("Location: /home");
}
require_once 'core/classes.php';
require_once 'core/classes/User.php';
require_once 'core/config.php';
@ -90,4 +94,4 @@ echo "form-control form-control-sm";
</div>
</div>
</body>
</html>
</html>