Daddyfix's modified time fix.

This commit is contained in:
Denis Kisselev 2014-03-06 08:57:05 -08:00
parent f3bbd134fc
commit c71a6e3c04

View File

@ -150,6 +150,7 @@
} else { } else {
$page['path'] = str_replace($docs_path . '/', "", $file); $page['path'] = str_replace($docs_path . '/', "", $file);
$page['markdown'] = file_get_contents($file); $page['markdown'] = file_get_contents($file);
$page['modified'] = filemtime($file);
$page['content'] = MarkDownExtended($page['markdown']); $page['content'] = MarkDownExtended($page['markdown']);
$page['title'] = clean_url($file, 'Title'); $page['title'] = clean_url($file, 'Title');
} }