From 53b411b247efdecb9c799eb752ba852809fb7620 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 10 Mar 2016 09:12:52 +0000 Subject: [PATCH] Bug 11998: Clear L1 cache from psgi files Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jacek Ablewicz --- debian/templates/plack.psgi | 1 + misc/plack/koha.psgi | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi index 559e598..b6bd67f 100644 --- a/debian/templates/plack.psgi +++ b/debian/templates/plack.psgi @@ -44,6 +44,7 @@ use CGI qw(-utf8 ); # we will loose -utf8 under plack, otherwise *CGI::new = sub { my $q = $old_new->( @_ ); $CGI::PARAM_UTF8 = 1; + C4::Context->clear_syspref_L1_cache(); return $q; }; } diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi index 89dbb65..947bb02 100644 --- a/misc/plack/koha.psgi +++ b/misc/plack/koha.psgi @@ -12,6 +12,7 @@ use CGI qw(-utf8 ); # we will loose -utf8 under plack *CGI::new = sub { my $q = $old_new->( @_ ); $CGI::PARAM_UTF8 = 1; + C4::Context->clear_syspref_L1_cache(); return $q; }; } -- 1.7.10.4