diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-06-02 18:00:09 +0300 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-06-02 18:00:09 +0300 |
commit | 752cd4a8ef7bbc8ebd6c481ed890e0d8e46819a8 (patch) | |
tree | ccde49187dc34d35e5a5d8c1f172a3e0a1c9ade6 /index.php | |
parent | 5d198e2b988e9bc44a6ecb4394600015c003003c (diff) | |
download | wallabag-752cd4a8ef7bbc8ebd6c481ed890e0d8e46819a8.tar.gz wallabag-752cd4a8ef7bbc8ebd6c481ed890e0d8e46819a8.tar.zst wallabag-752cd4a8ef7bbc8ebd6c481ed890e0d8e46819a8.zip |
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(); |