Browse Source

Little script that takes a language as an input, and sets a cookie

3.0.x
rangi 19 years ago
parent
commit
e70385696a
  1. 10
      changelanguage.pl

10
changelanguage.pl

@ -0,0 +1,10 @@
#!/usr/bin/perl
use C4::Output;
use CGI;
my $query=new CGI;
my $language=$query->param('language');
my $url=$query->referer();
setlanguagecookie($query,$language,$url);
Loading…
Cancel
Save