Well, so, if I understand, the best would be to write a patch to add
"configdir" to koha-conf.xml. Its value should be __KOHA_CONF_DIR__ I
suppose?
So it could be used by my patch and probably by others.
I probably won't have time enough (working on facets is already a big
job, and I have other things to do in my library, and I will leave
community in 2 or 3 months...)
Does somebody wants to do that?
M. Saby
Galen Charlton a écrit :
Hi,
On Mon, Sep 23, 2013 at 5:08 AM, Mathieu Saby
<[email protected] <mailto:[email protected]>>
wrote:
Sorry, I was wrong, this pach only asked to create an "installdir"
line in koha-conf.
But that does not solve my problem : why is there a reference to
"installdir" in "Koha / Koha / SearchEngine / Solr / Config.pm" if
installdir is not defined in standard koha-conf.xml? Is it a bug
to fix?
Yes,references to installdir are a bug, IMO, as they won't work. As
far as your own patch is concerned, if the configuration file must
live outside the database, I suggest following the example of this
line in etc/koha-conf.xml:
<queryparser_config>__KOHA_CONF_DIR__/searchengine/queryparser.yaml</queryparser_config>
Specifying the full path to the new config file in koha-conf.xml is
safest. It is actually an error to assume that Koha's configuration
directory is a child of an "installation" directory -- for example,
the Debian packages don't lay files out like that.
Regards,
Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email: [email protected] <mailto:[email protected]>
direct: +1 770-709-5581
cell: +1 404-984-4366
skype: gmcharlt
web: http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org
--
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de la Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : [email protected]
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/