jQueryServer.config.php.example
509 字节
<?php
/**
* Example of jQueryServer config file.
*
* To make it work just delete '.example' suffix.
* @var array
*/
$jQueryServerConfig = array();
// Ajax host authorization
// phpQuery::ajaxAllowHost('somehostname.com');
// phpQuery::ajaxAllowURL('http://fullurl.com/witheverything?foo=bar');
// Restrict access without referer
// $jQueryServerConfig['refererMustMatch'] = true;
// dot '.' means $_SERVER['HTTP_HOST']
// $jQueryServerConfig['allowedRefererHosts'] = array('.', 'my-other-host.com');
?>