summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c5d7193)
Prefer site customisations over minimedit defaults.
-include_once 'head.inc.php';
+include_once './head.inc.php';
print "<header>\n";
ob_start();
print "<header>\n";
ob_start();
$nav = ob_get_clean();
$nav = preg_replace_callback('{<a href="([^"]+)">(.*?)</a>}', function ($m) {
$request = $_SERVER['REQUEST_URI'];
$nav = ob_get_clean();
$nav = preg_replace_callback('{<a href="([^"]+)">(.*?)</a>}', function ($m) {
$request = $_SERVER['REQUEST_URI'];
print "</body></html>\n";
});
print "</body></html>\n";
});
-include "$Page.html";
-if (file_exists("$Page.php")) include_once("$Page.php");
+include "./$Page.html";
+if (file_exists("$Page.php")) include_once("./$Page.php");