nixpkgs-suyu/pkgs/servers/web-apps/matomo/make-localhost-default-database-host.patch

14 lines
527 B
Diff
Raw Normal View History

diff --git a/plugins/Installation/FormDatabaseSetup.php b/plugins/Installation/FormDatabaseSetup.php
2019-02-10 23:28:42 +01:00
index 74de2535b4..bc172ad0eb 100644
--- a/plugins/Installation/FormDatabaseSetup.php
+++ b/plugins/Installation/FormDatabaseSetup.php
@@ -82,7 +82,7 @@ class FormDatabaseSetup extends QuickForm2
2019-02-10 23:28:42 +01:00
$defaults = array(
- 'host' => '127.0.0.1',
+ 'host' => 'localhost',
'type' => $defaultDatabaseType,
'tables_prefix' => 'matomo_',
);