Hi,
On Mon, Sep 23, 2013 at 5:08 AM, Mathieu Saby <mathieu.saby@univ-rennes2.fr> 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 CharltonManager of ImplementationEquinox Software, Inc. / The Open Source Expertsemail: gmc@esilibrary.comdirect: +1 770-709-5581cell: +1 404-984-4366skype: gmcharltSupporting 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 : mathieu.saby@univ-rennes2.fr