瀏覽代碼

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 (); ?>
 	<?php $this->render (); ?>
 </div>
 </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']; ?>">
 <div class="notification <?php echo $this->notification['type']; ?>">
 	<?php echo $this->notification['content']; ?>
 	<?php echo $this->notification['content']; ?>
 	<a class="close" href=""><i class="icon i_close"></i></a>
 	<a class="close" href=""><i class="icon i_close"></i></a>