Commit ca9187ad95a29ddcd0d569ef2a70da8b52a8fd08

Authored by Alex Savenko
1 parent 4a2c880a

ga

backend/views/report/index.php
... ... @@ -26,7 +26,7 @@ $this->params['breadcrumbs'][] = $this->title;
26 26  
27 27  
28 28 $client = new Google_Client();
29   -$client->setAuthConfig(__DIR__ . '/client_secrets.json');
  29 +$client->setAuthConfig('/client_secrets.json');
30 30 //$client->addScope(Google_Service_Analytics::ANALYTICS_READONLY);
31 31  
32 32  
... ...
backend/web/client_secrets.json 0 → 100644
  1 +{"web":{"client_id":"351764603844-sii92g1eotm9gpr1m23qr5dpg7o38d0j.apps.googleusercontent.com","project_id":"versatile-field-148915","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"T2n_G9sDBBMkrHgJA4el28qx"}}
0 2 \ No newline at end of file
... ...