LP#1544606: Change static entry to variable in config example for locale/staff
authorBen Shum <ben@evergreener.net>
Thu, 11 Feb 2016 19:36:35 +0000 (14:36 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 17 Feb 2016 19:18:43 +0000 (14:18 -0500)
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 <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/examples/apache/eg_vhost.conf.in
Open-ILS/examples/apache_24/eg_vhost.conf.in

index 4348e56..bf99d0d 100644 (file)
@@ -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"
 </LocationMatch>
 
 <Location /js/>
index 0443693..a0bb9b4 100644 (file)
@@ -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"
 </LocationMatch>
 
 <Location /js/>