Menu

#21 false check in setup.php

open
nobody
5
2012-02-15
2012-02-15
McAldo
No

The check of Suhosin: "server.strip" false every time.

I insert in the funktion "check_suhosin_server_strip" in the file /usr/share/davical/htdocs/setup.php an (int) before ini_get.

function check_suhosin_server_strip() {
global $loaded_extensions;
if ( !isset($loaded_extensions['suhosin']) ) return new CheckResult(true);
return new CheckResult( (int)ini_get('suhosin.server.strip') == 0 || strtolower(ini_get('suhosin.server.strip')) == "off" );
}

This works for me.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.