From: Jonathan Druart Date: Thu, 10 Mar 2016 09:12:52 +0000 (+0000) Subject: Bug 11998: Clear L1 cache from psgi files X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=55b78f1a5dbbff5a790971e2f5a99ebdd6a3f18a;p=koha.git Bug 11998: Clear L1 cache from psgi files Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jacek Ablewicz Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi index 559e5985bf..b6bd67f43f 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 89dbb6516b..947bb0277f 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; }; }