setBreaksEnabled(true) ->text($file); echo $intro; ?>
= 3 && substr($article, -3) == ".md"){ ArticleGenerator::newArticle($articlesdir, $article, $_GET['blog']); } } } } else if($_GET['article'] == ""){ $articles = scandir($articlesdir, 1); foreach ($articles as $article) { if(strlen($article) >= 3 && substr($article, -3) == ".md"){ ArticleGenerator::newArticle($articlesdir, $article, $_GET['blog']); } } } else { ArticleGenerator::newArticle($articlesdir, $_GET['article'] . ".md", $_GET['blog']); include './res/php/SocialBar.php'; include './res/php/Disqus.php'; } ?>
Share