[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 9 08:23:37 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WISHLIST                    |---
             Status|RESOLVED                    |REOPENED

--- Comment #20 from David Cook <dcook at prosentient.com.au> ---
(In reply to Tomás Cohen Arazi from comment #12)
> My vote would be:
> - Use separate files with expected names (config.yaml, shibboleth.yaml, etc)
> - No includes
> - Have C4::Context->config rebuild the 'old structure we already have, and
> deal with a different new handling on a separate bug (Koha::Config singleton
> implementation?)
> - Have a way for C4::Context->config to override any configuration if an env
> variable exists. e.g. KOHA_DATABASE_NAME should override the relevant entry.
> 
> My two cents as well

These are still good ideas. 

I think we could do them with some very small changes to Koha/Config.pm.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list