Page 1 of 1

[Suggestion] Security for dummy php server administrators

Posted: Tue Jun 14, 2011 12:08 pm
by totophe
I know it seems obvious but sometimes we do not manage the server where we install CMS Made Simple and the server administrator is a f*****g b*****d who think he have the truth and though the php.ini is configured by default to display_error = on.

Off course, we can disable it manually but could someone modify the include.php of CMS Made Simple like this? :

Line 139

Code: Select all

if ($config["debug"] == true)
{
    @ini_set('display_errors',1);
    @error_reporting(E_ALL);
}
Add

Code: Select all

else
{
	 @ini_set('display_errors',0);
}
Could be cool to avoid customers to blame us for server administrator stupidity...

:-)

Thanks in advance !