ghost
3 years ago
4 changed files with 25 additions and 0 deletions
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
|
||||
<?php |
||||
|
||||
if (isset($_SESSION['username'])) { |
||||
session_destroy(); |
||||
} |
||||
|
||||
header('Location: ' . PROJECT_HOST, true, 302); |
@ -1,3 +1,7 @@
@@ -1,3 +1,7 @@
|
||||
<?php |
||||
|
||||
if (isset($_SESSION['username'])) { |
||||
header('Location: ' . PROJECT_HOST, true, 302); |
||||
} |
||||
|
||||
require(PROJECT_DIR . '/application/view/register.phtml'); |
Loading…
Reference in new issue