Files
cake-contact-us/config/app.example.php
T
bs 6e34d9a65a
CI / testsuite (mysql, 8.2, ) (push) Successful in 3m21s
CI / testsuite (mysql, 8.4, ) (push) Successful in 4m19s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m7s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 4m19s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 3m10s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 3m4s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 4m20s
CI / Coding Standard & Static Analysis (push) Failing after 2m3s
turnstile via cloudflare working i believe
2026-11-11 02:41:55 -08:00

35 lines
1008 B
PHP

<?php
// The following configs can be globally configured, copy the array content over to your ROOT/config
return [
'ContactUs' => [
'fields' => [
'subject' => true,
'email' => true,
'captcha' => true,
],
'clientIpHeader' => null,
'email' => [
'mailerClass' => 'CakeContactUs.ContactUsFormSubmissions',
'confirmation' => true, // true or false
'backend' => [ // array with enabled and the to/cc/bcc/ fields as strings or arrays
'enabled' => true,
'to' => 'contact@hipowered.dev',
'cc' => '', // email string or array of emails
'bcc' => '', // email string or array of emails
],
],
'addIdToRedirect' => true,
'redirectUrl' => [
'prefix' => 'Admin',
'plugin' => 'CakeContactUs',
'controller' => 'ContactUsFormSubmissions',
'action' => 'view',
],
'turnstile' => [
'siteKey' => '{SITE_KEY_GOES_HERE}', // define in app_local or an .env variable
'secretKey' => '{SECRET_GOES_HERE}', // define in app_local or an .env variable
],
],
];