23 lines
1.1 KiB
PHP
23 lines
1.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
'profile_access_enabled' => (bool) env('PORTAL_PROFILE_ACCESS_ENABLED', false),
|
|
// Prepared increment; enable only in QA until the authenticated rollout is approved.
|
|
'opportunity_dashboard_access_enabled' => env('PORTAL_OPPORTUNITY_DASHBOARD_ACCESS_ENABLED', false),
|
|
'opportunity_specialized_drafts_enabled' => env('PORTAL_OPPORTUNITY_SPECIALIZED_DRAFTS_ENABLED', false),
|
|
'operator_name' => env('PORTAL_OPERATOR_NAME'),
|
|
'support' => [
|
|
'email' => env('PORTAL_SUPPORT_EMAIL'),
|
|
'phone' => env('PORTAL_SUPPORT_PHONE'),
|
|
'address' => env('PORTAL_SUPPORT_ADDRESS'),
|
|
'hours' => env('PORTAL_SUPPORT_HOURS'),
|
|
],
|
|
'notifications_enabled' => env('PORTAL_NOTIFICATIONS_ENABLED', false),
|
|
'notification_recipients' => array_values(array_filter(array_map('trim', explode(',', (string) env('PORTAL_NOTIFICATION_RECIPIENTS', ''))))),
|
|
// Explicit access list; public registration never grants management access.
|
|
'managers' => array_values(array_filter(array_map(
|
|
fn ($email) => strtolower(trim($email)),
|
|
explode(',', (string) env('PORTAL_MANAGER_EMAILS', '')),
|
|
))),
|
|
];
|