X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.php;h=8a2bc85ce35d9d3517a32c1a1cd3268563e9bd74;hb=948d843003f8f9f70e830e73ecd3e53bf231f247;hp=1dc9d0daf398dac76400f244fb6a7c24fed6982a;hpb=00f6a232f1a6022f53f4e3c9d0236d81db966b62;p=wfpl-cms.git diff --git a/config.php b/config.php index 1dc9d0d..8a2bc85 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 + ] + # ... +];