summaryrefslogtreecommitdiffstats
path: root/app/class/globals.php (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2017-06-27Add function input()Malf Furious1-0/+11
2017-06-27Add function isAction()Malf Furious1-0/+11
2017-06-19Revert "Add global function sendEmail()"Malf Furious1-42/+0
This reverts commit 45889e98e7a12b22cbaaceedd5531d4158888530. This reverts commit 6b643d4bbb469d35c6664176bc1aa641d130d99f. This reverts commit 7872377be7a0fc97316fc20d28a4bcfec15c6111. This feature was moved to another file.
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