diff options
author | Thedro Neely <thedroneely@gmail.com> | 2018-08-30 04:40:53 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2018-08-30 04:40:53 -0400 |
commit | 2659205908bd5cab508f4ff817123673e078ab74 (patch) | |
tree | e455f36b124e9b98f7005e6d4310b71881734623 /public/index.php | |
download | edwinmattiacci.com-2659205908bd5cab508f4ff817123673e078ab74.tar.gz edwinmattiacci.com-2659205908bd5cab508f4ff817123673e078ab74.tar.bz2 edwinmattiacci.com-2659205908bd5cab508f4ff817123673e078ab74.zip |
Initialize Repo: First Commit
Diffstat (limited to 'public/index.php')
-rw-r--r-- | public/index.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..1d5fad8 --- /dev/null +++ b/public/index.php @@ -0,0 +1,11 @@ +<?php + +/* require core files */ +require '../bootstrap/Bootstrap.php'; + +/* create new router */ +$router = new Router; + +/* direct routes as defined */ +require Router::load('../bootstrap/Routes.php') + ->direct(Request::uri(), Request::method()); |