Commit 6981a7c2923f133501180b9435549500647d5432
1 parent
5c42bcd6
ga
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
backend/views/report/index.php
... | ... | @@ -27,7 +27,7 @@ $this->params['breadcrumbs'][] = $this->title; |
27 | 27 | |
28 | 28 | $client = new Google_Client(); |
29 | 29 | $client->setAuthConfig('./client_secrets.json'); |
30 | -//$client->addScope(Google_Service_Analytics::ANALYTICS_READONLY); | |
30 | +$client->addScope(Google_Service_Analytics::ANALYTICS_READONLY); | |
31 | 31 | |
32 | 32 | |
33 | 33 | // Если пользователь уже авторизовал это приложение, предоставьте токен доступа. | ... | ... |