X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=config.php;h=1c916a3d2356acd15b9e0381787f3d91147c4f49;hp=8a52bf42ba7ff3f262d618d09b8ea778e883004b;hb=HEAD;hpb=cd1770f2da44256adf9c6605a3c5b0909dd7a9c3 diff --git a/config.php b/config.php index 8a52bf4..1c916a3 100644 --- a/config.php +++ b/config.php @@ -1,17 +1,60 @@ __DIR__.'/'.'inc/payment_membership.php' +]; + +$GLOBALS['email_templates'] = [ + 'backend_bug' => [ + 'title' => "Notification for site programmer(s)", + 'description' => "This email template is used if/when the back-end code of this site encounters an unusual/suspicious situation that it's not sure how to cope with.", + 'variables' => [ + ['details', "details about the unusual/suspicious situation"] + ], + 'subject' => "backend alert", + 'content' => "Hi developer,\n\nPlease investigate the following debugging message from the site:\n\n~details~", + 'from_addr' => 'noreply@example.com', + 'to_addr' => 'fixme@example.com' # not all templates need this field + ] + # ... +];