Invalide le cache suite à une notification

Corrige https://github.com/marienfressinaud/FreshRSS/issues/243
This commit is contained in:
Alexandre Alapetite
2013-11-09 14:16:36 +01:00
parent a5bc7d20d4
commit fc64964f4f

View File

@@ -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>