summaryrefslogtreecommitdiff
path: root/inc/parserutils.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r--inc/parserutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php
index 70d73a417..f48580b0f 100644
--- a/inc/parserutils.php
+++ b/inc/parserutils.php
@@ -501,7 +501,7 @@ function p_get_first_heading($id){
function p_xhtml_cached_geshi($code, $language) {
$cache = getCacheName($language.$code,".code");
- if (@file_exists($cache)) {
+ if (@file_exists($cache) && !$_REQUEST['purge']) {
$highlighted_code = io_readFile($cache, false);
@touch($cache);