aboutsummaryrefslogtreecommitdiff
path: root/syntax.php
diff options
context:
space:
mode:
Diffstat (limited to 'syntax.php')
-rw-r--r--syntax.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/syntax.php b/syntax.php
index 11e36e3..b608ab1 100644
--- a/syntax.php
+++ b/syntax.php
@@ -135,6 +135,9 @@ class syntax_plugin_papers extends DokuWiki_Syntax_Plugin
case DOKU_LEXER_UNMATCHED:
$renderer->doc .= $this->format_bibtex($bibtex, $options);
+ // Purge the cache to update depending pages
+ if ($this->getConf('purge-cache') || $tag === 'bibtex')
+ touch(DOKU_CONF . '/local.php');
break;
case DOKU_LEXER_EXIT: