diff --git a/.htaccess b/.htaccess index 02cd4d8..86582bf 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,5 @@ RewriteEngine On RewriteRule ^$ main [QSA] RewriteRule ^index\.php$ wiki.php?page=main [QSA] - RewriteRule ^server$ includes/server.php [QSA,L] RewriteCond %{REQUEST_URI} !(/includes/|/media/|tilde.json|humans.txt|/webmail/|/favicon.ico|/~|githook|sitemap.xml) RewriteRule ^([^\d]+)/?$ wiki.php?page=$1 [QSA] diff --git a/includes/server.php b/includes/server.php index 3f73260..1437a22 100644 --- a/includes/server.php +++ b/includes/server.php @@ -1,68 +1,4 @@ setMarkupEscaped(true); -$ParsedownExtra = new ParsedownExtra(); - -if (empty($site_style)) - $site_style="site"; - -$header = file_get_contents("$doc_root/includes/header.md"); -$sidebar = file_get_contents("$doc_root/includes/sidebar.md"); -$content = file_get_contents("$doc_root/articles/server.md"); -$footer = file_get_contents("$doc_root/includes/footer.md"); - -print " - -
-