X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=config.php;h=1c916a3d2356acd15b9e0381787f3d91147c4f49;hp=8a2bc85ce35d9d3517a32c1a1cd3268563e9bd74;hb=HEAD;hpb=d8a3c68fe7131555725440aabc9f82e53520b5dc diff --git a/config.php b/config.php index 8a2bc85..1c916a3 100644 --- a/config.php +++ b/config.php @@ -15,9 +15,9 @@ define('WFPL_IMAGE_WIDTH_FULL', WFPL_SITE_WIDTH); define('WFPL_IMAGE_WIDTH_SMALL', 250); # "sidebar_width" in style.styl define('WFPL_IMAGE_WIDTH_THUMB', 70); $GLOBALS['wfpl_image_widths'] = array( - WFPL_IMAGE_WIDTH_FULL, - WFPL_IMAGE_WIDTH_SMALL, - WFPL_IMAGE_WIDTH_THUMB + WFPL_IMAGE_WIDTH_FULL, + WFPL_IMAGE_WIDTH_SMALL, + WFPL_IMAGE_WIDTH_THUMB ); # Enable features, auto-includes @@ -38,23 +38,23 @@ db_upgrade(); # paypal_ipn.php calls these when it receives a valid payment $GLOBALS['payment_handlers'] = [ - # the key (below) must be the first word in the paypal variable "custom" - # the file will be run with wfpl's file_run() - # example: - #'membership' => __DIR__.'/'.'inc/payment_membership.php' + # the key (below) must be the first word in the paypal variable "custom" + # the file will be run with wfpl's file_run() + # example: + #'membership' => __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 - ] - # ... + '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 + ] + # ... ];