summaryrefslogtreecommitdiffstats
path: root/do.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-09 14:22:49 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-09 14:22:49 -0800
commite147e44088e8bc76fac2a3b92b32b76f9867280d (patch)
tree2df06f633625cd6ed216434cc8be2fb8532a087f /do.php
parentf8d48c412670381356f2f28b826a8f9f57e1094e (diff)
downloadpathery-e147e44088e8bc76fac2a3b92b32b76f9867280d.tar.xz
Sending emails in GO, - also closing the session.
Diffstat (limited to 'do.php')
-rw-r--r--do.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/do.php b/do.php
index d38e039..d822541 100644
--- a/do.php
+++ b/do.php
@@ -304,6 +304,13 @@ if ($_GET['r'] == 'getpath') {
}
return;
}
+
+ // ---------- CLOSING THE SESSION $_SESSION WILL NO LONGER WORK FOR WRITING
+ session_write_close();
+ //Now that is done, we can easily do whatever we want - Like, send any emails that there might be.
+ include_once('./includes/emails.php');
+ SendQueuedEmail();
+
$json['error'][] = 'user is logged in';
// --------- USER LOGGED IN