• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [Suggestion] Security for dummy php server administrators
PostPosted: Tue Jun 14, 2011 12:08 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Feb 21, 2007 9:30 am
Posts: 64
Location: Brussels - Belgium
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 !


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting