[Suggestion] Security for dummy php server administrators

Talk about new features for CMSMS and modules.
Post Reply
totophe
Forum Members
Forum Members
Posts: 63
Joined: Wed Feb 21, 2007 9:30 am

[Suggestion] Security for dummy php server administrators

Post 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 !
Post Reply

Return to “Feature ideas”