Skip to content
Snippets Groups Projects
Commit c53ea5f2 authored by andi's avatar andi
Browse files

fixed error reporting (#216)

darcs-hash:20050330191510-9977f-f129b8028ca701e0d23b3bc824510b8c300882cb.gz
parent 7e908a61
No related branches found
No related tags found
No related merge requests found
......@@ -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', '&');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment