|
发表于 2013-9-24 15:15:17
|
显示全部楼层
好吧,请告诉我,这一段是做什么用的?
if ($whmcs->get_req_var( "infopopup" )) {
$data = curlCall( "http://api.mtimer.cn/whmcs/popup/popup.php", array( "licensekey" => $whmcs->get_license_key(), "version" => $whmcs->get_config( "Version" ), "ssl" => (( ( isset( $_SERVER["HTTPS"] ) && $_SERVER["HTTPS"] ) && $_SERVER["HTTPS"] != "off" ) ? "1" : "0") ) );
if (substr( $data, 0, 2 ) != "ok") {
exit( "A connection error occurred. Please try again later." );
}
echo substr( $data, 2 );
exit();
} |
|