X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/c5d71935bf920cae82c602ff3d644d2e4bb6df47..9de683f8c399ee4a78fbc86b5ee96ce5662acf97:/page.inc.php diff --git a/page.inc.php b/page.inc.php index 0ca6589..b3fa5f7 100644 --- a/page.inc.php +++ b/page.inc.php @@ -1,9 +1,9 @@ \n"; ob_start(); -include 'menu.html'; +include './menu.html'; $nav = ob_get_clean(); $nav = preg_replace_callback('{(.*?)}', function ($m) { $request = $_SERVER['REQUEST_URI']; @@ -23,6 +23,6 @@ register_shutdown_function(function () { print "\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");