| @@ 5-9 (lines=5) @@ | ||
| 2 | ini_set('display_errors', 1); |
|
| 3 | error_reporting(E_ALL); |
|
| 4 | //Redirect users to https |
|
| 5 | if($_SERVER["HTTPS"] != "on") |
|
| 6 | { |
|
| 7 | header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); |
|
| 8 | exit(); |
|
| 9 | } |
|
| 10 | require_once('class.ProfilesPage.php'); |
|
| 11 | $page = new ProfilesPage('Burning Flipside Password Change'); |
|
| 12 | $auth = AuthProvider::getInstance(); |
|
| @@ 5-9 (lines=5) @@ | ||
| 2 | ini_set('display_errors', 1); |
|
| 3 | error_reporting(E_ALL); |
|
| 4 | //Redirect users to https |
|
| 5 | if($_SERVER["HTTPS"] != "on") |
|
| 6 | { |
|
| 7 | header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); |
|
| 8 | exit(); |
|
| 9 | } |
|
| 10 | require_once("class.FlipSession.php"); |
|
| 11 | if(!FlipSession::isLoggedIn()) |
|
| 12 | { |
|
| @@ 5-9 (lines=5) @@ | ||
| 2 | ini_set('display_errors', 1); |
|
| 3 | error_reporting(E_ALL); |
|
| 4 | //Redirect users to https |
|
| 5 | if($_SERVER["HTTPS"] != "on") |
|
| 6 | { |
|
| 7 | header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); |
|
| 8 | exit(); |
|
| 9 | } |
|
| 10 | require_once('class.ProfilesPage.php'); |
|
| 11 | $page = new ProfilesPage('Burning Flipside Profiles Login'); |
|
| 12 | if($page->user !== false && $page->user !== null) |
|
| @@ 5-9 (lines=5) @@ | ||
| 2 | ini_set('display_errors', 1); |
|
| 3 | error_reporting(E_ALL); |
|
| 4 | //Redirect users to https |
|
| 5 | if($_SERVER["HTTPS"] != "on") |
|
| 6 | { |
|
| 7 | header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); |
|
| 8 | exit(); |
|
| 9 | } |
|
| 10 | require_once("class.FlipSession.php"); |
|
| 11 | if(!FlipSession::isLoggedIn()) |
|
| 12 | { |
|
| @@ 5-9 (lines=5) @@ | ||
| 2 | ini_set('display_errors', 1); |
|
| 3 | error_reporting(E_ALL); |
|
| 4 | //Redirect users to https |
|
| 5 | if($_SERVER["HTTPS"] != "on") |
|
| 6 | { |
|
| 7 | header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); |
|
| 8 | exit(); |
|
| 9 | } |
|
| 10 | require_once('class.FlipsideCAPTCHA.php'); |
|
| 11 | require_once('class.ProfilesPage.php'); |
|
| 12 | $page = new ProfilesPage('Burning Flipside Profiles Registration'); |
|