X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=config.php;h=1c916a3d2356acd15b9e0381787f3d91147c4f49;hp=1dc9d0daf398dac76400f244fb6a7c24fed6982a;hb=HEAD;hpb=00f6a232f1a6022f53f4e3c9d0236d81db966b62 diff --git a/config.php b/config.php index 1dc9d0d..1c916a3 100644 --- a/config.php +++ b/config.php @@ -1,21 +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 + ] + # ... +];