Skip to content
Snippets Groups Projects
Commit 58e3a7bf authored by Andreas Gohr's avatar Andreas Gohr
Browse files

ignore purge command when HTTP referer is set

darcs-hash:20081212222614-7ad00-0b69e3b788b8ee3423cbbd9fb32868234ca679ca.gz
parent 5c93146a
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
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