Fix minor 'undefined index' notice

This commit is contained in:
Aleksei Miheev
2014-02-16 17:15:29 +00:00
parent cbe53562bb
commit 2df913802c

View File

@@ -35,7 +35,7 @@ header("Preved: Krosavcheg!");
$forum_version = 'SMF 1.0.8'; $forum_version = 'SMF 1.0.8';
# some ugly anti-bot shit: # some ugly anti-bot shit:
if ($_SERVER['HTTP_USER_AGENT'] == "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;)") { if (isset ($_SERVER['HTTP_USER_AGENT']) AND $_SERVER['HTTP_USER_AGENT'] == "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;)") {
header("Location: http://natribu.org"); die; header("Location: http://natribu.org"); die;
} }