summaryrefslogtreecommitdiffstats
path: root/app/class/globals.php (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Update global function sendEmail()Malf Furious1-2/+13
Changing the $rcpt argument from an email address string to a user object. This allows us to ensure the address has been confirmed, to not send mail to a blank address, and to include the user's display name in the TO mail headers. Also, added support for mail attachments via PHPMailer. This can be used to forward any attachments added to Scrott message objects to email users as well.
2017-06-19Update global function sendEmail()Malf Furious1-5/+2
Function should be only sending to one recipient at a time.
2017-06-19Add global function sendEmail()Malf Furious1-0/+34
Helper routine to spin up a PHPMailer object, set all its options (mostly from the database) and send off the message.
2017-04-16Add global function saveFile()Malf Furious1-0/+41
2017-04-16Add global state for page errors, warnings, etc.Malf Furious1-0/+40
Added arrays to the global $_SCROTT variable to keep lists of page errors, warnings, and notices. Also added functions to globals.php for interacting with these arrays.
2017-02-14Add function require_https()Malf Furious1-0/+10
2017-02-13Add app-root(), app-path(), and similar function to globals.phpMalf Furious1-0/+34
2017-02-05Add global source code fileMalf Furious1-0/+22