https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
--- Comment #17 from David Cook <[email protected]> --- I was thinking more today about how this all could work and I'm thinking something like this: my $mq_crud_conf = Koha::Config->relative_file('mq_crud.yml'); The "relative" here means relative to $ENV{'KOHA_CONF'} as the configuration directory. Now I'm pondering whether we build in L1 and L2 caching into that method or if we have multiple different methods: Koha::Config->relative_file() Koha::Config->relative_file_cached() It might be a good idea to have multiple methods because sometimes you don't need to waste time setting up the cache. (For instance, when uploading a plugin, you might only need "relative_file", but when calling a plugin over X records in a row you'd definitely want to use "relative_file_cached".) But curious what other people think. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
