virt2/api/soft/phpquery/jQueryServer/jQueryServer.config.php.exa...

18 lines
509 B
Plaintext
Executable File

<?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');
?>