summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/init.php b/inc/init.php
index 703fd4a38..8d094ef66 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -33,6 +33,9 @@
error_reporting(DOKU_E_LEVEL);
}
+ // we don't want a purge URL to be digged
+ if($_REQUEST['purge'] && $_SERVER['HTTP_REFERER']) unset($_REQUEST['purge']);
+
// init memory caches
global $cache_revinfo; $cache_revinfo = array();
global $cache_wikifn; $cache_wikifn = array();