Exemple #1
0
	function check_method_exists()
	{
		$strRequest = "GET "."/bitrix/admin/site_checker.php?test_type=method_exists&unique_id=".checker_get_unique_id()." HTTP/1.1\r\n";
		$strRequest.= "Host: ".$this->host."\r\n";
		$strRequest.= "\r\n";

		if ($res = $this->ConnectToHost())
			return IsHttpResponseSuccess($res, $strRequest);
		return false;
	}
Exemple #2
0
					oRow.setAttribute('id', '');
					oCell.innerHTML = SetResultColor(test_result, strResult);
				}

				if (strNextRequest)
					BX.ajax.get('site_checker.php?fix_mode=' + fix_mode + '&test_start=Y&lang=<?php 
echo LANGUAGE_ID;
?>
&charset=<?php 
echo LANG_CHARSET;
?>
&<?php 
echo bitrix_sessid_get();
?>
&unique_id=<?php 
echo checker_get_unique_id();
?>
' + strNextRequest, fix_onload);
			}
			catch(e)
			{
				console.warn(result);
				alert('<?php 
echo GetMessage("SC_TEST_FAIL");
?>
');
			}
		}

		function set_start(val)
		{
Exemple #3
0
	function check_method_exists()
	{
		$strRequest = "GET ".$_SERVER['PHP_SELF']."?test_type=method_exists&unique_id=".checker_get_unique_id()." HTTP/1.1\r\n";
		$strRequest.= "Host: ".$this->host."\r\n";
		$strRequest.= "\r\n";

		if ($res = $this->ConnectToHost())
			return IsHttpResponseSuccess($res, $strRequest);
		return false;
	}