Fix gnump3d: cookie expiration, recurse links and link to homepage
[people/pmueller/ipfire-2.x.git] / src / patches / gnump3d-3.0-remove_badbannerlink.patch
1 --- gnump3d-3.0/bin/org/gnump3d2 2007-11-05 00:00:34.000000000 +0100
2 +++ gnump3d-3.0/bin/gnump3d2 2007-11-07 15:23:21.000000000 +0100
3 @@ -2805,7 +2805,7 @@
4 }
5 }
6
7 - if ( $dir ne '/prefs/' ) {
8 + if ( ($dir ne '/prefs/')&&($dir ne '/tagbrowse/')&&($dir ne '/playlist/')&&($dir ne '/random/')&&($dir ne '/stats/')&&($dir ne '/recent/')&&($dir ne '/now/') ) {
9 #
10 # Interpolate links - chopping out trailing '/' if necessary.
11 #