blob: e3f87524225ee63cbf31aec33b5878f985ebe985 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
require ("lib/conf/static.php");
require("lib/markdown.php");
if (isset($static_pages[$args[2]])) {
$title = $static_pages[$args[2]];
$text = file_get_contents("lib/static/" . $args[2] . ".md");
$text = Markdown($text);
require("tpl/general/static.php");
}
|