]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
error reporting level set in E_ALL & ~E_NOTICE by default, can be overriden in config
[github/wallabag/wallabag.git] / index.php
index 472e0fabc20e3d34885367999e7258fd7a187567..c134b1035275f9eb1a2fb24e2e019e925a678d7f 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -12,6 +12,11 @@ define ('POCHE', '1.7.0');
 require 'check_setup.php';
 require_once 'inc/poche/global.inc.php';
 
+# Set error reporting level
+if (defined('ERROR_REPORTING')) {\r
+       error_reporting(ERROR_REPORTING);\r
+}
+
 # Start session
 Session::$sessionName = 'poche';
 Session::init();