summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-01-16 11:25:46 +0100
committerAndreas Gohr <andi@splitbrain.org>2011-01-16 11:25:46 +0100
commit876d3278dce690fbf6a38e29a82e8bad24813fe7 (patch)
tree59d1f33d5337d7e1a464bed714245eebc9ea9db5 /doku.php
parent278a5eb294b2df859c7eb20c6e35e32280a8b613 (diff)
downloadrpg-876d3278dce690fbf6a38e29a82e8bad24813fe7.tar.gz
rpg-876d3278dce690fbf6a38e29a82e8bad24813fe7.tar.bz2
Revert "tmp: disable notices in doku.php"
This reverts commit 58a22bd0570451af9e62b659343dd47a26bacb3f. It was accidentally pushed to the repo.
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/doku.php b/doku.php
index b0312fb25..d7d270d40 100644
--- a/doku.php
+++ b/doku.php
@@ -26,7 +26,6 @@ if (isset($_SERVER['HTTP_X_DOKUWIKI_DO'])){
// load and initialize the core system
require_once(DOKU_INC.'inc/init.php');
-$old = error_reporting(E_ALL ^ E_NOTICE);
//import variables
$QUERY = trim($_REQUEST['id']);
$ID = getID();
@@ -47,7 +46,6 @@ if (isset($_POST['wikitext'])) {
$PRE = cleanText(substr($_POST['prefix'], 0, -1));
$SUF = cleanText($_POST['suffix']);
$SUM = $_REQUEST['summary'];
-error_reporting($old);
//sanitize revision
$REV = preg_replace('/[^0-9]/','',$REV);