X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/9de683f8c399ee4a78fbc86b5ee96ce5662acf97..7333dc046075c7873b15643ecd73f6e3b32c7a79:/page.inc.php diff --git a/page.inc.php b/page.inc.php index b3fa5f7..bc2c57d 100644 --- a/page.inc.php +++ b/page.inc.php @@ -1,4 +1,6 @@ \n"; @@ -13,16 +15,10 @@ $nav = preg_replace_callback('{(.*?)}', function ($m) { print $nav; print "\n\n"; -print '
'."\n\n"; - -include_once 'auth.inc.php'; +print $body; register_shutdown_function(function () { - print "
\n\n"; include 'foot.inc.php'; print "\n"; }); -include "./$Page.html"; -if (file_exists("$Page.php")) include_once("./$Page.php"); -