Просмотр исходного кода

Notifications touch+1s

Pour https://github.com/marienfressinaud/FreshRSS/issues/243
Alexandre Alapetite 12 лет назад
Родитель
Сommit
9ac09897ec
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/layout/layout.phtml

+ 1 - 1
app/layout/layout.phtml

@@ -32,7 +32,7 @@
 
 <?php
 	if (isset ($this->notification)) {
-		touch(PUBLIC_PATH . '/data/touch.txt');
+		touch(PUBLIC_PATH . '/data/touch.txt', time() + 1);
 ?>
 <div class="notification <?php echo $this->notification['type']; ?>">
 	<?php echo $this->notification['content']; ?>