summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbharat <bharat@coral.ithought.org>2009-06-01 00:21:18 -0400
committerbharat <bharat@coral.ithought.org>2009-06-01 00:21:18 -0400
commit1f7cec2e754ad2eb933cf76cd59a88bf49853f49 (patch)
treeb20431f778d791a0ca1f5de699479f0829cbde41
parent0ec3f1b830a5b183b9901ab19c934596516e4c69 (diff)
Change E_NONE -> 0 .. turns out E_NONE is a figment of my imagination according to http://us.php.net/manual/sl/function.error-reporting.php
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index a70053a8..3acbea74 100644
--- a/index.php
+++ b/index.php
@@ -27,7 +27,7 @@ version_compare(PHP_VERSION, '5.2.3', '<') and exit('Gallery requires PHP 5.2.3
!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_NONE);
+error_reporting(0);
// Disabling display_errors will effectively disable Kohana error display
// and logging. You can turn off Kohana errors in application/config/config.php