I really should get a local PHP server

main
Astoria 2 years ago
parent a5adde6da7
commit e3fcf4d658

@ -3,10 +3,9 @@
$title="About";
$tags="about";
$scanfiles=array("./Media/", "./News/", "./Technology/");
$page = "About/about.md";
require "includes/default-start.php";
require "includes/seemore.php";
require "includes/custompanelPHP.php";
customPageMD($page);
require "includes/mdutils.php";
loadmdfile("About/about.md");
require "includes/default-end.php";
?>

@ -1,6 +1,6 @@
<?php
function customPageMD($page) {
require 'vendor/autoload.php';
require_once 'vendor/autoload.php';
$Parsedown = new \Noi\ParsedownRubyText();
$text = file_get_contents($page);
echo '<div class="article article-headerless">';

Loading…
Cancel
Save