From: Mischa POSLAWSKY Date: Tue, 12 Sep 2017 18:56:23 +0000 (+0200) Subject: page: rename head includes X-Git-Tag: v2.1~20 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/c5d71935bf920cae82c602ff3d644d2e4bb6df47 page: rename head includes Site specific header from head.inc.html to head.inc.php to allow code, replacing generic page container renamed to more appropriate page.inc.php. --- diff --git a/head.inc.php b/page.inc.php similarity index 95% rename from head.inc.php rename to page.inc.php index 2522ad7..0ca6589 100644 --- a/head.inc.php +++ b/page.inc.php @@ -1,8 +1,7 @@ \n"; - ob_start(); include 'menu.html'; $nav = ob_get_clean(); diff --git a/page.php b/page.php index 51ef900..c888524 100644 --- a/page.php +++ b/page.php @@ -31,4 +31,4 @@ while (TRUE) { $Edit = isset($_GET['edit']); -include 'head.inc.php'; +include 'page.inc.php';