mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-21 03:43:42 +03:00
16 lines
358 B
PHP
16 lines
358 B
PHP
|
<?php
|
||
|
return [
|
||
|
|
||
|
'database' => [
|
||
|
'driver' => 'pdo_mysql',
|
||
|
'user' => getenv('DB_USER'),
|
||
|
'password' => getenv('DB_PASSWORD'),
|
||
|
'dbname' => getenv('DB_NAME') ?: 'acelaya_url_shortener',
|
||
|
'charset' => 'utf8',
|
||
|
'driverOptions' => [
|
||
|
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'
|
||
|
],
|
||
|
],
|
||
|
|
||
|
];
|