diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-02-09 14:22:49 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-02-09 14:22:49 -0800 |
commit | e147e44088e8bc76fac2a3b92b32b76f9867280d (patch) | |
tree | 2df06f633625cd6ed216434cc8be2fb8532a087f | |
parent | f8d48c412670381356f2f28b826a8f9f57e1094e (diff) | |
download | pathery-e147e44088e8bc76fac2a3b92b32b76f9867280d.tar.xz |
Sending emails in GO, - also closing the session.
-rw-r--r-- | do.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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
|