Explorar el Código

Notifications touch+1s

Pour https://github.com/marienfressinaud/FreshRSS/issues/243
Alexandre Alapetite hace 12 años
padre
commit
9ac09897ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/layout/layout.phtml

+ 1 - 1
app/layout/layout.phtml

@@ -32,7 +32,7 @@
 
 
 <?php
 <?php
 	if (isset ($this->notification)) {
 	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']; ?>">
 <div class="notification <?php echo $this->notification['type']; ?>">
 	<?php echo $this->notification['content']; ?>
 	<?php echo $this->notification['content']; ?>