Permalink
Browse files

MINOR Check for display_errors=Off during installation (fixes #5779)

  • Loading branch information...
chillu committed Feb 11, 2012
1 parent 5bf79f8 commit fcf103cd141d15e18021d08b2492d004c1d17e68
Showing with 1 addition and 0 deletions.
  1. +1 −0 dev/install/install.php5
View
@@ -398,6 +398,7 @@ class InstallRequirements {
$this->suggestPHPSetting('asp_tags', array(''), array('PHP Configuration', 'asp_tags option turned off', 'This should be turned off as it can cause issues with SilverStripe'));
$this->suggestPHPSetting('magic_quotes_gpc', array(''), array('PHP Configuration', 'magic_quotes_gpc option turned off', 'This should be turned off, as it can cause issues with cookies. More specifically, unserializing data stored in cookies.'));
+ $this->suggestPHPSetting('display_errors', array(''), array('PHP Configuration', 'display_errors option turned off', 'This should be turned off, as it can expose sensitive data to website users.'));
// Check memory allocation
$this->requireMemory(32*1024*1024, 64*1024*1024, array("PHP Configuration", "Memory allocated (PHP config option 'memory_limit')", "SilverStripe needs a minimum of 32M allocated to PHP, but recommends 64M.", ini_get("memory_limit")));

0 comments on commit fcf103c

Please sign in to comment.