From d196a6dd863908a91b0d9a7984ff9a81cc73755e Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 1 Feb 2019 11:58:41 +0100 Subject: [PATCH] Update index.php --- example/public/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/public/index.php b/example/public/index.php index d126b64..08c528a 100644 --- a/example/public/index.php +++ b/example/public/index.php @@ -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 ...)