From 297afa681d05326398acd65c60f4f7c8b389a5f3 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Fri, 2 Jun 2017 16:45:52 +0300 Subject: [PATCH] Bug 11974 - Enable non-default unix socket location for database connections. Squashable3 Finally foound the last place where the DB_SOCKET instance should be added. --- Makefile.PL | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index 50b0478..f414e6a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -418,6 +418,10 @@ Name of DBMS server. Port that DBMS server is listening on. +=item DB_SOCKET + +Socket where the DBMS server is listening on. + =item DB_NAME Name of the DBMS database for Koha. @@ -656,6 +660,7 @@ $config{'BIB_RETRIEVAL_CFG'} = $config{'BIB_INDEX_MODE'} eq 'dom' ? 'retrieval-info-bib-dom.xml' : 'retrieval-info-bib-grs1.xml'; +$config{'DB_SOCKET'} = $ENV{DB_SOCKET} || ''; if ($config{'INSTALL_MODE'} ne "dev") { push @{ $pl_files->{'rewrite-config.PL'} }, ( -- 2.7.4