X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FOutput.pm;h=af7dd5a22b5c611cd9fc97f592cbbe4b292a1633;hb=30048f4aabeec27fdf0a4f195f82c822eddab501;hp=0527d6546f340d053ad32301bda3020b7a229a35;hpb=dc03bca76cf5b7cb48d98d1ce245fc65b98be929;p=koha.git diff --git a/C4/Output.pm b/C4/Output.pm index 0527d6546f..af7dd5a22b 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -33,11 +33,9 @@ use URI::Escape; use C4::Context; use C4::Templates; -use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); +use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); BEGIN { - # set the version for version checking - $VERSION = 3.07.00.049; require Exporter; @ISA = qw(Exporter); @@ -269,7 +267,7 @@ sub output_with_http_headers { charset => 'UTF-8', Pragma => 'no-cache', 'Cache-Control' => $cache_policy, - 'X-Frame-Options' => 'DENY', + 'X-Frame-Options' => 'SAMEORIGIN', }; $options->{expires} = 'now' if $extra_options->{force_no_caching};