From f7987c95bdd0a853964a1bcb85fbae8c85d16f88 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 7 Mar 2019 15:28:05 -0300 Subject: [PATCH] Bug 22473: Two other places that do not work - V2 --- C4/Context.pm | 1 + Koha/Config.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/C4/Context.pm b/C4/Context.pm index 9b3f74dbb2..08194e8477 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -378,6 +378,7 @@ sub _common_config { } sub config { + # Check stat here? It will be called everytime we need to access a config value return _common_config($_[1],'config'); } sub zebraconfig { diff --git a/Koha/Config.pm b/Koha/Config.pm index b0f36f2551..771cc8dfe0 100644 --- a/Koha/Config.pm +++ b/Koha/Config.pm @@ -70,6 +70,7 @@ sub read_from_file { sub guess_koha_conf { + # Check stat here? It will not be called on each request. Not enough # If the $KOHA_CONF environment variable is set, use # that. Otherwise, use the built-in default. my $conf_fname; -- 2.11.0