From 047757a324da251d741481eee6277979842695db Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Mon, 9 Aug 2021 15:58:55 +0200 Subject: [PATCH] Add update time --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index bbf15ac..b238647 100644 --- a/index.php +++ b/index.php @@ -80,7 +80,7 @@ if (empty($_SESSION['login']) or $_SESSION['login'] !== true) { $body = str_replace("", ' ⬆️', $body); $body = str_replace("", ' ⬆️', $body); $menu = makeMenu($dir); - $lastMod = date("d-m-Y H:i", filectime('content/' . urldecode($dir) . '/' . urldecode($file) . '.md')); + $lastMod = date("d-m-Y H:i", filemtime('content/' . urldecode($dir) . '/' . urldecode($file) . '.md')); } require 'tpl/header.html'; require 'tpl/aside.html';