mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Fix debian bug #656392 - correct detection of suhosin.server_strip status.
This commit is contained in:
parent
35a5518971
commit
3239a0bdd8
@ -145,7 +145,9 @@ function check_suhosin_server_strip() {
|
|||||||
global $loaded_extensions;
|
global $loaded_extensions;
|
||||||
|
|
||||||
if ( !isset($loaded_extensions['suhosin']) ) return new CheckResult(true);
|
if ( !isset($loaded_extensions['suhosin']) ) return new CheckResult(true);
|
||||||
return new CheckResult( ini_get('suhosin.server.strip') == "0" || strtolower(ini_get('suhosin.server.strip')) == "off" );
|
return new CheckResult( ini_get('suhosin.server.strip') == "0"
|
||||||
|
|| strtolower(ini_get('suhosin.server.strip')) == "off"
|
||||||
|
|| ini_get('suhosin.server.strip') == "" );
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_magic_quotes_gpc() {
|
function check_magic_quotes_gpc() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user