Преглед на файлове

Invalide le cache suite à une notification

Corrige https://github.com/marienfressinaud/FreshRSS/issues/243
Alexandre Alapetite преди 12 години
родител
ревизия
fc64964f4f
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      app/layout/layout.phtml

+ 4 - 1
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>