diff --git a/app/library/App/Bootstrap/RouteBootstrap.php b/app/library/App/Bootstrap/RouteBootstrap.php index edc5f26..33da3b8 100755 --- a/app/library/App/Bootstrap/RouteBootstrap.php +++ b/app/library/App/Bootstrap/RouteBootstrap.php @@ -8,15 +8,6 @@ use Phalcon\Config; use Phalcon\DiInterface; use PhalconRest\Api; -use Google_Client; -use Google_Service_AnalyticsReporting; -use Google_Service_AnalyticsReporting_DateRange; -use Google_Service_AnalyticsReporting_Metric; -use Google_Service_AnalyticsReporting_ReportRequest; -use Google_Service_AnalyticsReporting_GetReportsRequest; - - - class RouteBootstrap implements BootstrapInterface { @@ -45,9 +36,9 @@ class RouteBootstrap implements BootstrapInterface /** @var \Phalcon\Mvc\View\Simple $view */ $view = $api->di->get(Services::VIEW); - $view->setVar('title', $config->application->title); - $view->setVar('description', $config->application->description); - $view->setVar('documentationPath', $config->hostName . '/export/documentation.json'); + $view->setVar('title', $config->get("application")->title); + $view->setVar('description', $config->get("application")->description); + $view->setVar('documentationPath', $config->get("hostName") . '/export/documentation.json'); return $view->render('general/documentation'); }); } -- libgit2 0.21.4