From 0c30bfc2dd59a22bbd30b2b829cc61a417574bff Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 12 Mar 2012 10:17:57 +1300 Subject: [PATCH] MINOR Tweak text about display_errors --- dev/install/install.php5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/install/install.php5 b/dev/install/install.php5 index ffbb8fb99e5..5d88a18a07e 100644 --- a/dev/install/install.php5 +++ b/dev/install/install.php5 @@ -405,7 +405,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.')); + $this->suggestPHPSetting('display_errors', array(''), array('PHP Configuration', 'display_errors option turned off', 'Unless you\'re in a development environment, 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")));