summaryrefslogtreecommitdiffstats
path: root/globe.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2015-05-07 23:14:47 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2015-05-07 23:14:47 -0500
commit3dc3919ce1b5336861979cde56884842615c967b (patch)
treef0a2418290cecd15f20c834bb071ffa9f3694b09 /globe.php
parent29e872fbc6c552ef02208fe9fa5416b69773aa38 (diff)
parentc517b645c8723b5f4d20cbb91cbc4b9f45579cbb (diff)
downloadpathery-3dc3919ce1b5336861979cde56884842615c967b.tar.xz
Merge branch 'master' of git.raylu.net:pathery
Diffstat (limited to 'globe.php')
-rw-r--r--globe.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/globe.php b/globe.php
index a251afd..5abff5f 100644
--- a/globe.php
+++ b/globe.php
@@ -98,7 +98,8 @@ function CookieLogin() {
$_SESSION['displayName'] = $display;
$_SESSION['dateJoined'] = $dateJoined;
if ($isAdmin == 1) $_SESSION['isAdmin'] = true;
- header("Location: $mydomain");
+ // There should be no reason to re-load the page.
+ //header("Location: $mydomain");
} else {
setcookie("doLogin", "lastAttemptFailed");
setcookie("userID", "");
@@ -214,8 +215,8 @@ function EmailError($data, $subject = "Pathery Error Report") {
$message .= "Content-Transfer-Encoding: 8bit\n\n";
$message .= "Request from website: \n";
- foreach ($data as $title => $value)
- $message.= "$title: $value\n";
+ //foreach ($data as $title => $value) $message.= "$title: $value\n";
+ $message .= var_export($data, true);
# -=-=-=- HTML EMAIL PART
//None