fuck stupid submit bots: nobody uses MSIE 5/6 anymore

This commit is contained in:
Aleksei Miheev
2012-02-14 19:39:50 +04:00
parent f28477b692
commit 48d79c1f11

View File

@@ -15,6 +15,12 @@
// GNU General Public License for more details. \\
//=================================================================\\
if (isset($_SERVER['HTTP_USER_AGENT'])) {
if (preg_match('/MSIE [56]/', $_SERVER['HTTP_USER_AGENT'])) {
header("Location: http://rock.ru/top100");
}
}
$TMPL['header'] = $LNG['join_header'];
if (!$FORM['url']) {
$TMPL['catselect'] = "<select name=\"cat\">\n";