CMS Made Simple Forums
https://forum.cmsmadesimple.org/

[Suggestion] Security for dummy php server administrators
https://forum.cmsmadesimple.org/viewtopic.php?f=21&t=54932
Page 1 of 1

Author:  totophe [ Tue Jun 14, 2011 12:08 pm ]
Post subject:  [Suggestion] Security for dummy php server administrators

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
\$1:
if ($config["debug"] == true)
{
    @ini_set('display_errors',1);
    @error_reporting(E_ALL);
}


Add
\$1:
else
{
    @ini_set('display_errors',0);
}


Could be cool to avoid customers to blame us for server administrator stupidity...

:-)

Thanks in advance !

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/