@@ 10-13 (lines=4) @@ | ||
7 | $dotenv->load(); |
|
8 | ||
9 | // die("Hello"); |
|
10 | if (Session::get('start') != null) { |
|
11 | header("Location:".getenv('APP_URL')."/views/account.php"); |
|
12 | } |
|
13 | ?> |
|
14 | <!Doctype html> |
|
15 | <html> |
|
16 |
@@ 10-18 (lines=9) @@ | ||
7 | $dotenv->load(); |
|
8 | ||
9 | ||
10 | if (Session::get('start') != null) { |
|
11 | Session::forget('start'); |
|
12 | header('Location:'.getenv('APP_URL')."/index.php"); |
|
13 | } else { |
|
14 | echo "Please Login"; |
|
15 | } |
|
16 |