psgi hard-code koha_conf file path
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Jan 2017 17:23:44 +0000 (18:23 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 25 Mar 2019 14:43:15 +0000 (15:43 +0100)
This allows us to use this script as

/etc/koha/sites/ffzg/plack.psgi

which in turn allows us to use koha-common debian scripts

misc/plack/koha-ffzg.psgi

index db94c4e..d7fe413 100644 (file)
@@ -6,7 +6,7 @@ use strict;
 my $BASE_DIR;
 BEGIN {
 
-       $ENV{'KOHA_CONF'} = "/etc/koha/sites/$ENV{SITE}/koha-conf.xml";
+       $ENV{'KOHA_CONF'} = "/etc/koha/sites/ffzg/koha-conf.xml";
        $BASE_DIR = '/srv/koha_ffzg';
 
 } # BEGIN