mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-23 20:38:46 +00:00
Now without PHP errors.
This commit is contained in:
@@ -8,8 +8,6 @@ APP_URL=http://localhost
|
|||||||
TRUSTED_PROXIES=
|
TRUSTED_PROXIES=
|
||||||
|
|
||||||
DB_CONNECTION=pgsql
|
DB_CONNECTION=pgsql
|
||||||
# no DB info, is in database URL.
|
|
||||||
|
|
||||||
|
|
||||||
BROADCAST_DRIVER=log
|
BROADCAST_DRIVER=log
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
|
@@ -28,7 +28,7 @@ $username = '';
|
|||||||
$password = '';
|
$password = '';
|
||||||
$database = '';
|
$database = '';
|
||||||
|
|
||||||
+if (!($databaseUrl === false)) {
|
if (!($databaseUrl === false)) {
|
||||||
$options = parse_url($databaseUrl);
|
$options = parse_url($databaseUrl);
|
||||||
$host = $options['host'];
|
$host = $options['host'];
|
||||||
$username = $options['user'];
|
$username = $options['user'];
|
||||||
|
Reference in New Issue
Block a user