[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/areas/download
From:       Dirk Mueller <mueller () kde ! org>
Date:       2007-04-28 15:44:06
Message-ID: 1177775046.499064.30707.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 658821 by mueller:

adding kdesvn-build to the list of stupid user agents
CCMAIL: michael.pyne@kdemail.net


 M  +3 -1      download.php  


--- trunk/www/areas/download/download.php #658820:658821
@@ -11,7 +11,9 @@
 
   $uri = htmlspecialchars(($HTTP_GET_VARS["url"]));
   $requested_unstable = strpos($uri, 'nstable');
-  $redirectme = (strpos($HTTP_SERVER_VARS['HTTP_USER_AGENT'], "Wget") !== false) || \
(strpos($HTTP_SERVER_VARS['HTTP_USER_AGENT'], "APT-HTTP") !== false); +  $redirectme \
= (strpos($HTTP_SERVER_VARS['HTTP_USER_AGENT'], "Wget") !== false)  +                 \
|| (strpos($HTTP_SERVER_VARS['HTTP_USER_AGENT'], "APT-HTTP") !== false) +             \
|| (strpos($HTTP_SERVER_VARS['HTTP_USER_AGENT'], "kdesvn-build") !== false);  
   $candidates = Array();
   $local_sites = Array();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic