X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/4867902ad83bc343db74316e54058d85627ec5f2..fe92ec8f17c832c4a663aea399dc90a4c09ce6b1:/page.php diff --git a/page.php b/page.php index 290a596..059b615 100644 --- a/page.php +++ b/page.php @@ -97,7 +97,7 @@ while (TRUE) { $PageAccess = $Page; } - if (file_exists("$Page.php")) { + if (file_exists("$Page/index.php")) { break; } @@ -131,7 +131,7 @@ print "\n\n"; # execute dynamic code if ($Page) { - $found |= require "./$Page.php"; + $found |= require "./$Page/index.php"; } # global html