Files
emailtemplate.it/inc/OUTDATED config.example.php
2025-12-04 22:33:05 +01:00

37 lines
1.0 KiB
PHP

<?php
return [
'templates' => [
'db_host' => '127.0.0.1',
'db_port' => 3306,
'db_name' => 'YOUR_DB_NAME',
'db_user' => 'YOUR_DB_USER',
'db_pass' => 'YOUR_DB_PASS',
'db_charset' => 'utf8mb4',
'prefix' => 'emailtemplate_',
],
'project' => [
'db_host' => '127.0.0.1',
'db_port' => 3306,
'db_name' => 'YOUR_PROJECT_DB',
'db_user' => 'YOUR_PROJECT_USER',
'db_pass' => 'YOUR_PROJECT_PASS',
'db_charset' => 'utf8mb4',
],
// SMTP / Testversand
'smtp' => [
'host' => getenv('SMTP_HOST') ?: '',
'port' => getenv('SMTP_PORT') ?: 587,
'user' => getenv('SMTP_USER') ?: '',
'pass' => getenv('SMTP_PASS') ?: '',
'secure' => getenv('SMTP_SECURE') ?: 'tls',
'from_email' => getenv('SMTP_FROM_EMAIL') ?: 'no-reply@example.com',
'from_name' => getenv('SMTP_FROM_NAME') ?: 'EmailTemplate',
],
// Export-API: statische API-Keys
'export' => [
'api_keys' => explode(',', getenv('EXPORT_API_KEYS') ?: 'dev-key-123'),
],
];