Update register.php
This commit is contained in:
parent
4a2ecd994f
commit
5282fc056c
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue