From b5d156385beb85c9b22368d9f151cfdfc5a0ed52 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 2 Mar 2017 18:48:41 +0200 Subject: [PATCH] docs --- app/library/App/Bootstrap/RouteBootstrap.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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