summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-31 14:02:00 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-31 14:02:00 -0800
commit94ab9fdfeec6f3e2c8ab1a694d4fe9cfe9d8e45c (patch)
treef39c79a1670d4f1b4299b29d082ecacaa3b36850 /index.php
parentc5471a76a23897fcb40b3c4661ba898116dabaa7 (diff)
Add a comment about error_reporting()
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 8bfbbb54..1816d7fa 100644
--- a/index.php
+++ b/index.php
@@ -27,7 +27,8 @@ version_compare(PHP_VERSION, "5.2.3", "<") and
// Gallery requires short_tags to be on
!ini_get("short_open_tag") and exit("Gallery requires short_open_tag to be on.");
-// Set the error reporting level. Use E_ALL unless you have a special need.
+// Suppress errors. For information on how to debug Gallery 3, see:
+// http://codex.gallery2.org/Gallery3:FAQ#How_do_I_see_debug_information.3F
error_reporting(0);
// Disabling display_errors will effectively disable Kohana error display