Compare commits
No commits in common. "af803154f5196b6a2b3c1ac3009016f8de279296" and "cdea9d57e905d7a7f4991ca8dfe2cfe792583130" have entirely different histories.
af803154f5
...
cdea9d57e9
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB |
17
lib/config.php
Normal file
17
lib/config.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
// Zentrale Konfiguration
|
||||||
|
// Hinweis: In Produktion idealerweise per Environment-Variablen setzen.
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
return [
|
||||||
|
'db' => [
|
||||||
|
'host' => getenv('GEIZKRAGEN_DB_HOST') ?: 'localhost',
|
||||||
|
'port' => (int)(getenv('GEIZKRAGEN_DB_PORT') ?: 3306),
|
||||||
|
'user' => getenv('GEIZKRAGEN_DB_USER') ?: 'User',
|
||||||
|
'pass' => getenv('GEIZKRAGEN_DB_PASS') ?: 'password',
|
||||||
|
'name' => getenv('GEIZKRAGEN_DB_NAME') ?: 'DB-Name',
|
||||||
|
'charset' => getenv('GEIZKRAGEN_DB_CHARSET') ?: 'utf8mb4',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user