From: Ben Shum Date: Thu, 11 Feb 2016 19:36:35 +0000 (-0500) Subject: LP#1544606: Change static entry to variable in config example for locale/staff X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9250622347dfdbb81898e6c2a04316e67e7f1324;p=evergreen%2Fmasslnc.git LP#1544606: Change static entry to variable in config example for locale/staff We were using a hardcoded entry for /openils/var here, but this should be a variable that is altered based on how users configure/build Evergreen. Signed-off-by: Ben Shum Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/examples/apache/eg_vhost.conf.in b/Open-ILS/examples/apache/eg_vhost.conf.in index 4348e566ca..bf99d0dcf0 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf.in +++ b/Open-ILS/examples/apache/eg_vhost.conf.in @@ -823,9 +823,9 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT] # sample staff-specific translation files #PerlAddVar OILSWebLocale "en_ca" - #PerlAddVar OILSWebLocale "/openils/var/data/locale/staff/en-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/staff/en-CA.po" #PerlAddVar OILSWebLocale "fr_ca" - #PerlAddVar OILSWebLocale "/openils/var/data/locale/staff/fr-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/staff/fr-CA.po" diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in index 0443693472..a0bb9b4c24 100644 --- a/Open-ILS/examples/apache_24/eg_vhost.conf.in +++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in @@ -829,9 +829,9 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT] # sample staff-specific translation files #PerlAddVar OILSWebLocale "en_ca" - #PerlAddVar OILSWebLocale "/openils/var/data/locale/staff/en-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/staff/en-CA.po" #PerlAddVar OILSWebLocale "fr_ca" - #PerlAddVar OILSWebLocale "/openils/var/data/locale/staff/fr-CA.po" + #PerlAddVar OILSWebLocale "@localstatedir@/data/locale/staff/fr-CA.po"