From da1ce168b3a9f6d97a22a032d81d70ceb1eb5bea Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Wed, 20 May 2015 23:01:21 +0200 Subject: [PATCH] Updated google auth url (work without mod_rewrite) --- src/application/libraries/google_sync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/libraries/google_sync.php b/src/application/libraries/google_sync.php index 0b024e76..e0b8239e 100644 --- a/src/application/libraries/google_sync.php +++ b/src/application/libraries/google_sync.php @@ -37,7 +37,7 @@ class Google_Sync { $this->client->setClientId(Config::GOOGLE_CLIENT_ID); $this->client->setClientSecret(Config::GOOGLE_CLIENT_SECRET); $this->client->setDeveloperKey(Config::GOOGLE_API_KEY); - $this->client->setRedirectUri($this->CI->config->item('base_url') . '/google/oauth_callback'); + $this->client->setRedirectUri($this->CI->config->item('base_url') . '/index.php/google/oauth_callback'); $this->service = new Google_CalendarService($this->client); }