Add comments to index.php

This commit is contained in:
manfromhuh 2022-07-05 14:40:20 -04:00
parent 4117b552f2
commit 58f94c415d

View File

@ -1,6 +1,9 @@
<?php
//The common file used to render pages on the blog.
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/header.php');
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/menu.php');
//Looks for an article.md to see if the current directory is an article or not
//If it is not then it is a menu page.
if (file_exists('article.md')){
include_once ($_SERVER['DOCUMENT_ROOT'].'/common/md_read.php');
} else {