summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/init.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/init.php b/inc/init.php
index 6ef88dfa0..6f7751457 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -6,6 +6,9 @@
// define the include path
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/');
+ // set up error reporting to sane values
+ error_reporting(E_ALL ^ E_NOTICE);
+
// load the config file(s)
require_once(DOKU_INC.'conf/dokuwiki.php');
@include_once(DOKU_INC.'conf/local.php');
@@ -24,9 +27,6 @@
if(!defined('DOKU_TPL')) define('DOKU_TPL',
DOKU_BASE.'tpl/'.$conf['template'].'/');
- // set up error reporting to sane values
- error_reporting(E_ALL ^ E_NOTICE);
-
// make session rewrites XHTML compliant
ini_set('arg_separator.output', '&');