diff --git a/backend/views/report/index.php b/backend/views/report/index.php index 32fa325..c15ee4c 100644 --- a/backend/views/report/index.php +++ b/backend/views/report/index.php @@ -27,7 +27,7 @@ $this->params['breadcrumbs'][] = $this->title; $client = new Google_Client(); $client->setAuthConfig('./client_secrets.json'); -//$client->addScope(Google_Service_Analytics::ANALYTICS_READONLY); +$client->addScope(Google_Service_Analytics::ANALYTICS_READONLY); // Если пользователь уже авторизовал это приложение, предоставьте токен доступа. -- libgit2 0.21.4