summary refs log tree commit diff
path: root/pkgs/servers/web-apps/matomo/make-localhost-default-database-host.patch
blob: 48808ac2cccaa8e1b0043471a5923839a77cd25a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/plugins/Installation/FormDatabaseSetup.php b/plugins/Installation/FormDatabaseSetup.php
index 9364f49870..2625cbb91b 100644
--- a/plugins/Installation/FormDatabaseSetup.php
+++ b/plugins/Installation/FormDatabaseSetup.php
@@ -82,7 +82,7 @@ class FormDatabaseSetup extends QuickForm2
 
         // default values
         $this->addDataSource(new HTML_QuickForm2_DataSource_Array(array(
-                                                                       'host'          => '127.0.0.1',
+                                                                       'host'          => 'localhost',
                                                                        'type'          => $defaultDatabaseType,
                                                                        'tables_prefix' => 'matomo_',
                                                                   )));