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:19:44 +0000 (14:19 -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 d1c8160..7f8527a 100644 (file)
@@ -822,9 +822,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 cbec077..7a152d4 100644 (file)
@@ -828,9 +828,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/>