mirror of
git://f0xx.org/ac/ac-ms-url-shortener
synced 2026-07-29 02:18:23 +03:00
21 lines
614 B
PHP
21 lines
614 B
PHP
<?php
|
|
/**
|
|
* URL shortener — BE config (copy to config.php on Alpine).
|
|
* DB user: reuse crash reporter app user (same password as androidcast_crashes in crashes config.php).
|
|
*/
|
|
return [
|
|
'db' => [
|
|
'driver' => 'mysql',
|
|
'mysql' => [
|
|
'host' => '127.0.0.1',
|
|
'port' => 3306,
|
|
'socket' => '/run/mysqld/mysqld.sock',
|
|
'database' => 'url_shortener',
|
|
'username' => 'androidcast',
|
|
'password' => 'change-me-same-as-crashes-config',
|
|
'charset' => 'utf8mb4',
|
|
],
|
|
],
|
|
'public_base' => 'https://s.f0xx.org',
|
|
];
|