summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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