-remove the restrictation for IE7.0 and 8.0; now, only IE6.0 are not supported for xCAT web interface.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2010-01-13 07:54:57 +00:00
parent ae82f4c4f3
commit 4fd0890c54

View File

@ -1,7 +1,7 @@
<?php
$u_agent = $_SERVER['HTTP_USER_AGENT'];
if(preg_match('/MSIE/i', $u_agent)){
echo "Internet Explorer is not supported at this time. Please use Firefox\n";
if(preg_match('/MSIE 6.0/i', $u_agent)){
echo "Internet Explorer 6.0 is not supported. Please use Firefox, Chrome, Safari, IE7 or IE8\n";
exit;
}
require_once "lib/functions.php";