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';