diff options
author | tcitworld <tcit@tcit.fr> | 2014-06-05 16:59:39 +0200 |
---|---|---|
committer | tcitworld <tcit@tcit.fr> | 2014-06-05 16:59:39 +0200 |
commit | c93a5c137fcabcf771e7bd2d16d3b8d819de16da (patch) | |
tree | ccde49187dc34d35e5a5d8c1f172a3e0a1c9ade6 /index.php | |
parent | 5d198e2b988e9bc44a6ecb4394600015c003003c (diff) | |
parent | 752cd4a8ef7bbc8ebd6c481ed890e0d8e46819a8 (diff) | |
download | wallabag-c93a5c137fcabcf771e7bd2d16d3b8d819de16da.tar.gz wallabag-c93a5c137fcabcf771e7bd2d16d3b8d819de16da.tar.zst wallabag-c93a5c137fcabcf771e7bd2d16d3b8d819de16da.zip |
Merge pull request #716 from mariroz/dev
error reporting level set in E_ALL & ~E_NOTICE by default, can be overriden in config
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,11 @@ define ('POCHE', '1.7.0'); | |||
12 | require 'check_setup.php'; | 12 | require 'check_setup.php'; |
13 | require_once 'inc/poche/global.inc.php'; | 13 | require_once 'inc/poche/global.inc.php'; |
14 | 14 | ||
15 | # Set error reporting level | ||
16 | if (defined('ERROR_REPORTING')) { | ||
17 | error_reporting(ERROR_REPORTING); | ||
18 | } | ||
19 | |||
15 | # Start session | 20 | # Start session |
16 | Session::$sessionName = 'poche'; | 21 | Session::$sessionName = 'poche'; |
17 | Session::init(); | 22 | Session::init(); |