Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan authored Feb 1, 2019
1 parent aade22c commit d196a6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
JSMF\Request::addRoute('/^\/disclaimer\/?$/i', 'misc', 'index', 'disclaimer'); // route a request to /disclaimer to the disclaimer Action in the IndexController in the module "misc"
JSMF\Request::addRoute('/^\/privacy\/?$/i', 'misc', 'index', 'privacy');

// run the application
// register the autoloader and run the application
JSMF\Application::registerAutoloader();
JSMF\Application::run();

// output the applications response (can be HTML, JSON ...)
Expand Down

0 comments on commit d196a6d

Please sign in to comment.