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