summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-09 14:16:36 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-09 14:16:36 +0100
commitfc64964f4fc9a147367ff0f250037d9b84c6b22f (patch)
tree5d902b9836f5f2436eb1f988d31edf40b6db5c4d
parenta5bc7d20d4150c30dd70b33120ee062ede1f7d96 (diff)
Invalide le cache suite à une notification
Corrige https://github.com/marienfressinaud/FreshRSS/issues/243
-rw-r--r--app/layout/layout.phtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 0c09ee42a..e25089238 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -30,7 +30,10 @@
<?php $this->render (); ?>
</div>
-<?php if (isset ($this->notification)) { ?>
+<?php
+ if (isset ($this->notification)) {
+ touch(PUBLIC_PATH . '/data/touch.txt');
+?>
<div class="notification <?php echo $this->notification['type']; ?>">
<?php echo $this->notification['content']; ?>
<a class="close" href=""><i class="icon i_close"></i></a>