From fdf7ce24f563d219cc15161ad223435fc537df48 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 21 May 2009 06:27:21 +0000 Subject: Set the error level to E_NONE for production. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 52220f90..d1db3ee7 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,7 @@ version_compare(PHP_VERSION, '5.2', '<') and exit('Gallery requires PHP 5.2 or n !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. -error_reporting(E_ALL); +error_reporting(E_NONE); // Disabling display_errors will effectively disable Kohana error display // and logging. You can turn off Kohana errors in application/config/config.php -- cgit v1.2.3