public/index.php: use new Application class and remove services.php
This commit is contained in:
parent
38950d8244
commit
683ebae35b
2 changed files with 2 additions and 407 deletions
|
|
@ -16,14 +16,8 @@ if ($config->application->debug) {
|
|||
*/
|
||||
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();
|
||||
$app = new Httpcb\Application();
|
||||
echo $app->bootstrap()->run();
|
||||
|
|
|
|||
Reference in a new issue