summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-21 03:42:24 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-21 03:42:24 +0000
commitb5ff14df33edc819b25ea8a0e401c0f9cb66e1d2 (patch)
treec16775507b3d1e80866174a48c6562774738018e
parent893243b048861691fc0d5710b539c4fa60e216ff (diff)
Set display_errors to false for security.
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f4472b72..52220f90 100644
--- a/index.php
+++ b/index.php
@@ -31,7 +31,7 @@ error_reporting(E_ALL);
// Disabling display_errors will effectively disable Kohana error display
// and logging. You can turn off Kohana errors in application/config/config.php
-ini_set('display_errors', true);
+ini_set('display_errors', false);
define('EXT', '.php');
define('DOCROOT', strtr(getcwd() . '/', DIRECTORY_SEPARATOR, '/'));