diff --git a/trunk/web/reinfo.php b/trunk/web/reinfo.php index 613e33a2108..6138bc0fc8c 100644 --- a/trunk/web/reinfo.php +++ b/trunk/web/reinfo.php @@ -81,7 +81,7 @@ function is_valid($str2){ $view_reinfo=htmlentities(str_replace("\n\r","\n",$row['error']),ENT_QUOTES,"UTF-8"); } - if(strpos($row['error'],"judge/")!==false) $view_reinfo = "潜在的数组或指针越界,请检查代码。"; + if(strpos($row['error'],"judge/")!==false&&!isset($_SESSION[$OJ_NAME."_administrator"])) $view_reinfo = "潜在的数组或指针越界,请检查代码。"; else if(strpos($row['error'],"php")!==false) $view_reinfo = "error2"; else if(strpos($row['error'],"PASS")!==false) $view_reinfo = "error3"; else if($OJ_SHOW_DIFF && $row && ($ok||$isRE) && ($OJ_TEST_RUN||is_valid($row['error'])||$ok)){