Skip to content

A free, self-hostable news aggregator…

Notifications touch+1s

Alexandre Alapetite9ac09897ecbe
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 1af5934a8..6ac9fb2f8 100644
--- a/app/layout/layout.phtml
+++ b/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']; ?>