page: route requests through global php handler
[minimedit.git] / head.inc.php
index f8435ffb8852c6fb1ec83a61d867884247b9492d..2e57f81f7a78ca0c353c6f9102014e717bb49a7f 100644 (file)
@@ -12,3 +12,7 @@ register_shutdown_function(function () {
        include 'foot.inc.php';
        print "</body></html>\n";
 });
+
+include "$Page.html";
+if (file_exists("$Page.php")) include_once("$Page.php");
+