setShared('config', $config); /** * Read services */ include __DIR__ . "/../product/config/services.php"; /** * Setup routing */ include __DIR__ . "/../product/config/routing.php"; /** * Create application * @var \Phalcon\Mvc\Application $application */ $application = \Miauhau\Core\Application\ApplicationFactory::createWebApplication($di); /** * Handle the request */ echo $application->handle()->getContent(); // //} catch (\Exception $e) { // echo $e->getMessage(); //}