mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
Setup test should recognise "Off" as well as "0"
This commit is contained in:
parent
4bba200385
commit
310933231a
@ -82,7 +82,7 @@ function check_suhosin_server_strip() {
|
||||
global $loaded_extensions;
|
||||
|
||||
if ( !isset($loaded_extensions['suhosin']) ) return new CheckResult(true);
|
||||
return new CheckResult( ini_get('suhosin.server.strip') == "0" );
|
||||
return new CheckResult( ini_get('suhosin.server.strip') == "0" || strtolower(ini_get('suhosin.server.strip')) == "off" );
|
||||
}
|
||||
|
||||
function check_magic_quotes_gpc() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user