From 36136a5fc3df38666ccbeb86050838af4dfbebf7 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Tue, 8 Sep 2020 01:00:09 +0200 Subject: [PATCH] Fix newline business with reading DB password --- LocalSettings.php.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LocalSettings.php.tmpl b/LocalSettings.php.tmpl index e65582a..bc28fb7 100644 --- a/LocalSettings.php.tmpl +++ b/LocalSettings.php.tmpl @@ -56,7 +56,7 @@ $wgDBtype = "mysql"; $wgDBserver = "mariadb"; $wgDBname = "mediawiki"; $wgDBuser = "mediawiki"; -$wgDBpassword = "{{ secret "db_password" }}"; +$wgDBpassword = rtrim(file_get_contents('/run/secrets/db_password')); # MySQL specific settings $wgDBprefix = "";