18 lines
509 B
Plaintext
18 lines
509 B
Plaintext
|
<?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');
|
||
|
?>
|