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: stable include path (site then minimedit root)
[minimedit.git]
/
page.inc.php
diff --git
a/page.inc.php
b/page.inc.php
index c42d5d6e8f98da0a636e8813e7c1302815a90347..80f773d30f0395fc40d4411c78d9e85d9e5dc10a 100644
(file)
--- a/
page.inc.php
+++ b/
page.inc.php
@@
-1,11
+1,11
@@
<?php
$body = getoutput(@$Place);
<?php
$body = getoutput(@$Place);
-include_once
DOCROOT.
'head.inc.php';
+include_once 'head.inc.php';
print "<header>\n";
ob_start();
print "<header>\n";
ob_start();
-include
DOCROOT.
'menu.html';
+include 'menu.html';
ob_start();
if (!empty($User)) {
print '<div class="login"><p>';
ob_start();
if (!empty($User)) {
print '<div class="login"><p>';
@@
-46,7
+46,7
@@
print $body;
register_shutdown_function(function () {
print '<footer>';
register_shutdown_function(function () {
print '<footer>';
- @include
DOCROOT.
'footer.html';
+ @include 'footer.html';
print "</footer>\n";
global $User;
print "</footer>\n";
global $User;