summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-03-30 21:15:10 +0200
committerandi <andi@splitbrain.org>2005-03-30 21:15:10 +0200
commitc53ea5f2d3d1019fd4e1956796bc329af499a86d (patch)
treedfc97b9b01491b36d2c771f8f0fb34e37cb47e86 /inc/init.php
parent7e908a617b10e09817f3170e2bcbb77ef0b95e03 (diff)
downloadrpg-c53ea5f2d3d1019fd4e1956796bc329af499a86d.tar.gz
rpg-c53ea5f2d3d1019fd4e1956796bc329af499a86d.tar.bz2
fixed error reporting (#216)
darcs-hash:20050330191510-9977f-f129b8028ca701e0d23b3bc824510b8c300882cb.gz
Diffstat (limited to 'inc/init.php')
-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', '&amp;');