/usr/share/php/xajax/tests/suite/options.inc.php is in php-xajax 0.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <?php
$xajaxCore = "../../xajax_core";
$xajaxInclude = "/xajax.inc.php";
if (isset($_GET['AIO']))
if (0 != $_GET['AIO'])
$xajaxInclude = "/xajaxAIO.inc.php";
require $xajaxCore . $xajaxInclude;
$xajax = new xajax();
$xajax->configure('javascript URI', '../../');
if (isset($_GET['debugging']))
if (0 != $_GET['debugging'])
$xajax->configure("debug", true);
if (isset($_GET['verbose']))
if (0 != $_GET['verbose'])
$xajax->configure("verboseDebug", true);
if (isset($_GET['status']))
if (0 != $_GET['status'])
$xajax->configure("statusMessages", true);
if (isset($_GET['synchronous']))
if (0 != $_GET['synchronous'])
$xajax->configure("defaultMode", "synchronous");
if (isset($_GET['useEncoding']))
$xajax->configure("characterEncoding", $_GET['useEncoding']);
if (isset($_GET['outputEntities']))
if (0 != $_GET['outputEntities'])
$xajax->configure("outputEntities", true);
if (isset($_GET['decodeUTF8Input']))
if (0 != $_GET['decodeUTF8Input'])
$xajax->configure("decodeUTF8Input", true);
if (isset($_GET['scriptDeferral']))
if (0 != $_GET['scriptDeferral'])
$xajax->configure('deferScriptGeneration', true);
if (isset($_GET['lang']))
$xajax->configure('language', $_GET['lang']);
?>
|