X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=config.php;h=1c916a3d2356acd15b9e0381787f3d91147c4f49;hp=a3698ae66059c2ccae747f9ac85a00a192b43f39;hb=HEAD;hpb=8c4eef93b5d12e5453780b2b23c6a06af5d3894f diff --git a/config.php b/config.php index a3698ae..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 + ] + # ... +];