Commit ea9e2b716cacc65edb652777d1c75e5673df1983
1 parent
050d419e
testing
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
backend/views/report/index.php
@@ -21,7 +21,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -21,7 +21,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
21 | <?php | 21 | <?php |
22 | 22 | ||
23 | $client = new Google_Client(); | 23 | $client = new Google_Client(); |
24 | - //$client->setAuthConfig(__DIR__ . '/client_secrets.json'); | 24 | + $client->setAuthConfig(__DIR__ . '/client_secret.json'); |
25 | $client->addScope(Google_Service_Analytics::ANALYTICS_READONLY); | 25 | $client->addScope(Google_Service_Analytics::ANALYTICS_READONLY); |
26 | 26 | ||
27 | $analytics = new Google_Service_AnalyticsReporting($client); | 27 | $analytics = new Google_Service_AnalyticsReporting($client); |