]> git.evergreen-ils.org Git - Evergreen.git/commit
Tpac: Support for skinning via Apache configuration
authorBill Erickson <berick@esilibrary.com>
Thu, 1 Sep 2011 17:24:43 +0000 (13:24 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 1 Sep 2011 17:24:43 +0000 (13:24 -0400)
commit5e4a6150df52d23195637a14501f28da5fe2f81e
tree7e656db4c85d9843f384afb1dbc3d0c342209a94
parent2daaac232315c858aa13166885e8b2ab252c103f
Tpac: Support for skinning via Apache configuration

More generally, support for augmenting the Template Toolkit template
path list to allow for per-vhost template paths.

For example, a 3-tier consortium could do something like this:

<VirtualHost ...>
    [...]
    PerlAddVar OILSTemplatePath "/openils/var/templates_branch_abc"
    PerlAddVar OILSTemplatePath "/openils/var/templates_system_xyz"
    PerlAddVar OILSTemplatePath "/openils/var/templates_shared"
</VirtualHost>

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm