diff --git a/themes/manual/controller/SiteController.php b/themes/manual/controller/SiteController.php index da0f57f..8c80123 100644 --- a/themes/manual/controller/SiteController.php +++ b/themes/manual/controller/SiteController.php @@ -30,7 +30,7 @@ Class SiteController extends Controller { $html = $scanner->fixMDUrls($readmeFile['realpath'], $html); $publishTime = Common::getFileCreateTime($readmeFile); - $updateTime = $readmeFile['fstat']['atime']; + $updateTime = $readmeFile['fstat']['mtime']; if (!empty($readmeFile['author'])) { $author = $readmeFile['author']; } diff --git a/themes/manual/controller/ViewController.php b/themes/manual/controller/ViewController.php index d8603e6..84e9f0c 100644 --- a/themes/manual/controller/ViewController.php +++ b/themes/manual/controller/ViewController.php @@ -36,7 +36,7 @@ Class ViewController extends Controller { $html = $scanner->fixMDUrls($readmeFile['realpath'], $html); $publishTime = Common::getFileCreateTime($readmeFile); - $updateTime = $readmeFile['fstat']['atime']; + $updateTime = $readmeFile['fstat']['mtime']; if (!empty($readmeFile['author'])) { $author = $readmeFile['author']; }