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