Bugzilla – Attachment 86629 Details for
Bug 22473
Use koha-conf.xml modification time as cache key
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22473: Two other places that do not work - V2
Bug-22473-Two-other-places-that-do-not-work---V2.patch (text/plain), 1.03 KB, created by
Jonathan Druart
on 2019-03-14 18:30:48 UTC
(
hide
)
Description:
Bug 22473: Two other places that do not work - V2
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-03-14 18:30:48 UTC
Size:
1.03 KB
patch
obsolete
>From f7987c95bdd0a853964a1bcb85fbae8c85d16f88 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22473
:
86628
| 86629 |
86630
|
86631