diff options
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | login.php | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ <?php header("Content-Type: text/html; charset=UTF-8"); ?> <?php require_once("authenticate.php"); ?> -<?php if(!eregi("MSIE", $_SERVER['HTTP_USER_AGENT']) && !eregi("Internet Explorer", $_SERVER['HTTP_USER_AGENT'])) { ?> +<?php if(!@eregi("MSIE", $_SERVER['HTTP_USER_AGENT']) && !@eregi("Internet Explorer", $_SERVER['HTTP_USER_AGENT'])) { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <?php } ?> <html> @@ -8,7 +8,7 @@ <title><?php echo SITE_NAME; ?></title> <link href="style.css" rel="stylesheet" type="text/css"> <script language="JavaScript" src="swfobject.js"></script> -<?php if(eregi("MSIE", $_SERVER['HTTP_USER_AGENT']) || eregi("Internet Explorer", $_SERVER['HTTP_USER_AGENT'])) { ?> +<?php if(@eregi("MSIE", $_SERVER['HTTP_USER_AGENT']) || @eregi("Internet Explorer", $_SERVER['HTTP_USER_AGENT'])) { ?> <script language="JavaScript" src="ieadditions.js"></script> <?php } ?> <script language="JavaScript" src="musicajax.js"></script> @@ -1,4 +1,4 @@ -<?php if(!eregi("MSIE", $_SERVER['HTTP_USER_AGENT']) && !eregi("Internet Explorer", $_SERVER['HTTP_USER_AGENT'])) { ?> +<?php if(!@eregi("MSIE", $_SERVER['HTTP_USER_AGENT']) && !@eregi("Internet Explorer", $_SERVER['HTTP_USER_AGENT'])) { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <?php } ?> <html> |