diff --git a/backend/views/report/index.php b/backend/views/report/index.php index 1339301..b7fb684 100644 --- a/backend/views/report/index.php +++ b/backend/views/report/index.php @@ -26,7 +26,7 @@ $this->params['breadcrumbs'][] = $this->title; $client = new Google_Client(); -$client->setAuthConfig(__DIR__ . '/client_secrets.json'); +$client->setAuthConfig('/client_secrets.json'); //$client->addScope(Google_Service_Analytics::ANALYTICS_READONLY); diff --git a/backend/web/client_secrets.json b/backend/web/client_secrets.json new file mode 100644 index 0000000..c0b3cd3 --- /dev/null +++ b/backend/web/client_secrets.json @@ -0,0 +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"}} \ No newline at end of file -- libgit2 0.21.4