Skip to content

Commit

Permalink
Little script that takes a language as an input, and sets a cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
rangi committed Jul 16, 2004
1 parent 3cd76ee commit e703856
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions changelanguage.pl
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit e703856

Please sign in to comment.