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: include controllers from index.php
[minimedit.git]
/
page.php
diff --git
a/page.php
b/page.php
index 290a59670ba98955d69362f1b643105a2a72cd11..059b615fcb1d0adc2e2d384a34ce9669b8fd93ed 100644
(file)
--- 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 "</div>\n\n";
# execute dynamic code
if ($Page) {
- $found |= require "./$Page.php";
+ $found |= require "./$Page
/index
.php";
}
# global html