]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/gnump3d-3.0-fix_random_dir_for_opera.patch
Fix gnump3d: Random dir with opera, add gnump3d-index to fcron.daily
[people/pmueller/ipfire-2.x.git] / src / patches / gnump3d-3.0-fix_random_dir_for_opera.patch
1 diff -Naur gnump3d-3.0.org/lib/gnump3d/plugins/random.pm gnump3d-3.0/lib/gnump3d/plugins/random.pm
2 --- gnump3d-3.0.org/lib/gnump3d/plugins/random.pm 2007-10-18 19:34:02.000000000 +0200
3 +++ gnump3d-3.0/lib/gnump3d/plugins/random.pm 2009-05-02 18:25:13.000000000 +0200
4 @@ -525,7 +525,7 @@
5 $random= $1;
6 }
7
8 - &sendData($data, "HTTP/1.0 300 OK\nPragma: no-cache\nCache-control: no-cache\nLocation: /$random\n\n" );
9 + &sendData($data, "HTTP/1.0 302 OK\nPragma: no-cache\nCache-control: no-cache\nLocation: /$random\n\n" );
10
11 exit;
12 }