/usr/share/knowledgeroot/extension/libsecure/config.php is in knowledgeroot 0.9.9.5-6.
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 | <?php
$CONF = array(
"whitelist" => 1, // enable/disable this filter
"blacklist" => 1, // enable/disable this filter
"order" => 'whitelist,blacklist', // order of filters
"fileuploads" => 1, // should i check fileuploads?
"whitelistconfig" => array(
"useXhtml" => true, // should we use XHTML modus for whitelisting?
),
"whitelistitems" => array( // which global vars should be checked with whitelisting
"POST" => 1,
"GET" => 1,
"COOKIE" => 1,
"SERVER" => 1,
"SESSION" => 0,
"REQUEST" => 1,
),
"blacklistitems" => array( // which global vars should be checked with blacklisting
"POST" => 1,
"GET" => 1,
"COOKIE" => 1,
"SERVER" => 1,
"SESSION" => 0,
"REQUEST" => 1,
),
);
?>
|