From: Mischa POSLAWSKY Date: Fri, 8 Jun 2018 15:59:51 +0000 (+0200) Subject: page: include controllers from index.php X-Git-Tag: v3.0~7 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/fe92ec8f17c832c4a663aea399dc90a4c09ce6b1 page: include controllers from index.php Replace page code by directory handlers. Essentially the same, preparing for upcoming placeholder includes. --- diff --git a/edit.php b/edit/index.php similarity index 100% rename from edit.php rename to edit/index.php diff --git a/login/admin.php b/login/admin/index.php similarity index 100% rename from login/admin.php rename to login/admin/index.php diff --git a/login/commits/index.php b/login/commits/index.php new file mode 100644 index 0000000..75ff7a5 --- /dev/null +++ b/login/commits/index.php @@ -0,0 +1,2 @@ +\n\n"; # execute dynamic code if ($Page) { - $found |= require "./$Page.php"; + $found |= require "./$Page/index.php"; } # global html