X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/97bc8f54b09859842e53d4886234a3b09122ea71..85cba03008bb578b92db4c9876e5e0f96c76f543:/page.inc.php diff --git a/page.inc.php b/page.inc.php index dcb0573..2c1fc6c 100644 --- a/page.inc.php +++ b/page.inc.php @@ -13,14 +13,14 @@ $nav = preg_replace_callback('{(.*?)}', function ($m) { print $nav; print "\n\n"; -print '
'."\n\n"; - register_shutdown_function(function () { - print "
\n\n"; include 'foot.inc.php'; print "\n"; }); +print '
'."\n\n"; include "./$Page.html"; +print "
\n\n"; + if (file_exists("$Page.php")) include_once("./$Page.php");