diff --git a/html/header.php b/html/header.php index 9d7cde4..3f99bbb 100644 --- a/html/header.php +++ b/html/header.php @@ -85,7 +85,7 @@ } require ("includes/search-breadcrumbs-theme.php"); if (! preg_match (":^/((html/)?donors.php|(html/)?s(\.shtml)?(\?.*)?|(html/)?search(\.shtml)?(\?.*))$:", $_SERVER['REQUEST_URI']) && ! preg_match (":^4..$:", $_SERVER['REDIRECT_STATUS'])) { - require ("includes/readme-markdown.php"); + require ("includes/readmes.php"); ?>
diff --git a/html/includes/readme-markdown.php b/html/includes/readme-markdown.php deleted file mode 100644 index b26ec56..0000000 --- a/html/includes/readme-markdown.php +++ /dev/null @@ -1,14 +0,0 @@ -'); - print ('
Content of directory\'s README.md
'); - print ('
'); - print ($Parsedown->text ($readme)); - print ("
"); - print ("
"); - } -?> diff --git a/html/includes/readmes.php b/html/includes/readmes.php new file mode 100644 index 0000000..42d7232 --- /dev/null +++ b/html/includes/readmes.php @@ -0,0 +1,27 @@ + +
+
Content of directory's
+
+ text ($readme)) : print ('
' . $readme . '
'); ?> +
+
+