application->debug) { (new Phalcon\Debug)->listen(); } /** * Read auto-loader */ include APP_PATH . "/app/config/loader.php"; /** * Read services */ include APP_PATH . "/app/config/services.php"; /** * Handle the request */ $application = new \Phalcon\Mvc\Application($di); echo $application->handle()->getContent();