CI / testsuite (mysql, 8.2, ) (push) Successful in 3m6s
CI / testsuite (mysql, 8.4, ) (push) Successful in 4m20s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m10s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 4m21s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 3m7s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 3m4s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 4m38s
CI / Coding Standard & Static Analysis (push) Successful in 2m20s
41 lines
1.3 KiB
PHP
41 lines
1.3 KiB
PHP
<?php
|
|
// The following configs can be globally configured, copy the array content over to your ROOT/config
|
|
|
|
return [
|
|
'ContactUs' => [
|
|
'fields' => [
|
|
'subject' => false,
|
|
'email' => true,
|
|
'captcha' => false,
|
|
'turnstile' => false,
|
|
],
|
|
'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
|
|
],
|
|
],
|
|
'model' => 'CakeContactUs.ContactUsFormSubmissions',
|
|
'addIdToRedirect' => true,
|
|
'redirectUrl' => [
|
|
'prefix' => 'Admin',
|
|
'plugin' => 'CakeContactUs',
|
|
'controller' => 'ContactUsFormSubmissions',
|
|
'action' => 'view',
|
|
],
|
|
],
|
|
'Turnstile' => [
|
|
'enabled' => true,
|
|
/**
|
|
* @link https://developers.cloudflare.com/turnstile/troubleshooting/testing/ for testing keys
|
|
*/
|
|
'siteKey' => '{SITE_KEY_GOES_HERE}', // define in app_local or an .env variable - CLOUDFLARE_TURNSTILE_SITE_KEY
|
|
'secretKey' => '{SECRET_GOES_HERE}', // define in app_local or an .env variable - CLOUDFLARE_TURNSTILE_SECRET_KEY
|
|
],
|
|
];
|