git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: route requests through global php handler
[minimedit.git]
/
head.inc.php
diff --git
a/head.inc.php
b/head.inc.php
index f8435ffb8852c6fb1ec83a61d867884247b9492d..2e57f81f7a78ca0c353c6f9102014e717bb49a7f 100644
(file)
--- a/
head.inc.php
+++ b/
head.inc.php
@@
-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");
+