Files
opnform-host-nginx/api/config/opnform.php
Julien Nahum 5f0f873fb2 Add configuration option to hide official templates
Introduce a new environment variable and configuration option to allow users to hide official templates in the template gallery. This provides more flexibility for self-hosted instances of OpnForm.
2025-02-01 21:14:28 +01:00

10 lines
390 B
PHP

<?php
return [
'admin_emails' => explode(',', env('ADMIN_EMAILS') ?? ''),
'moderator_emails' => explode(',', env('MODERATOR_EMAILS') ?? ''),
'template_editor_emails' => explode(',', env('TEMPLATE_EDITOR_EMAILS') ?? ''),
'extra_pro_users_emails' => explode(',', env('EXTRA_PRO_USERS_EMAILS') ?? ''),
'show_official_templates' => env('SHOW_OFFICIAL_TEMPLATES', true),
];