From 9250622347dfdbb81898e6c2a04316e67e7f1324 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Thu, 11 Feb 2016 14:36:35 -0500 Subject: [PATCH] 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 --- Open-ILS/examples/apache/eg_vhost.conf.in | 4 ++-- Open-ILS/examples/apache_24/eg_vhost.conf.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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" -- 2.11.0