diff options
Diffstat (limited to 'globe.php')
-rw-r--r-- | globe.php | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -10,7 +10,9 @@ if (!session_id()) //!! CONFIRM THIS DOMAIN BEFORE TRANSFER
//$mydomain = "http://www.mazetd.4xg.net/";
//$mydomain = "http://www.blue.4xg.net/
-$mydomain = "http://www.pathery.com/";
+//$mydomain = "http://www.pathery.com/";
+$mydomain = "http://beta.snapems.com/";
+//include_once('includes/db.inc.php');
function LogError($error) {
@@ -74,7 +76,7 @@ function sql_clean($string) { }
function CookieLogin() {
- global $accepted;
+ global $accepted, $mydomain;
include_once "includes/sqlEmbedded.php";
$userID = $_COOKIE['userID'];
$auth = $_COOKIE['auth'];
@@ -112,9 +114,9 @@ function CookieLogin() { if ($isAdmin == 1) $_SESSION['isAdmin'] = true;
header("Location: $mydomain");
} else {
- setcookie("doLogin", "lastAttemptFailed");
- setcookie("userID", "");
- setcookie("auth", "");
+ setcookie("doLogin", "lastAttemptFailed");
+ setcookie("userID", "");
+ setcookie("auth", "");
return false;
}
}
|