Przeglądaj źródła

Notifications touch+1s

Pour https://github.com/marienfressinaud/FreshRSS/issues/243
Alexandre Alapetite 12 lat temu
rodzic
commit
9ac09897ec
1 zmienionych plików z 1 dodań i 1 usunięć
  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']; ?>