Update to use the new md_read.php

This commit is contained in:
manfromhuh 2022-07-17 17:55:56 -04:00
parent 8ce95a06d9
commit a0e3de1200

View File

@ -6,9 +6,11 @@
//If it is not then it is a menu page. //If it is not then it is a menu page.
if (file_exists('byline.md')){ if (file_exists('byline.md')){
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/md_read.php'); include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/md_read.php');
echo read_md('byline.md');
} }
if (file_exists('author.md')){ if (file_exists('author.md')){
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/md_read.php'); include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/md_read.php');
echo read_md('author.md');
} }
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/footer.php'); include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/footer.php');
?> ?>