Bug 26803: Fix PLUGIN_DIR when plugin_dirs is multivalued
commit6f272a16b2eb6d200402489b26435eea282ec622
authorFrédéric Demians <f.demians@tamil.fr>
Fri, 23 Oct 2020 16:17:49 +0000 (23 18:17 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Nov 2020 11:59:33 +0000 (4 12:59 +0100)
tree99dcf1f247e02eaf60eac4dbf9c56551ed65ce01
parent617a012a4cbe1e8ada09c0db3d8e464c36b97255
Bug 26803: Fix PLUGIN_DIR when plugin_dirs is multivalued

When plugin_dir koha-conf.xml parameter contains more than one
directory, PLUGIN_DIR parameter sent to templates doesn't contain the
proper value, ie the base directory of the current plugin.

See bug 23237

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Plugins/Base.pm