Many Administrators encounter a problem displaying the server in CSBANS 1.3
About this content
1. The server does not load in the CSBANS 1.3 ban list monitoring
2. The server is not displayed in the web part of CSBANS 1.3
3. Undefined index: amx_timeleft
SOLUTION
1. Go to:
Code:
protected/models/Serverinfo.phpC++CopyCode:
$info['timeleft'] = isset($s['mp_timeleft']) ? $s['mp_timeleft'] : isset($s['amx_timeleft'])?$s['amx_timeleft']:false;C++CopyCode:
if (isset($s["mp_timeleft"]) && $s["mp_timeleft"] != "0")
$info["timeleft"] = $s["mp_timeleft"];
else if (isset($s["amx_timeleft"]))
$info["timeleft"] = $s["amx_timeleft"];
else
$info["timeleft"] = "0";
Comments (0)