function getAuthorizationUrl() { $client = new Client(array('consumerKey' => $this->config->item('evernote/consumer_key'), 'consumerSecret' => $this->config->item('evernote/consumer_secret'), 'sandbox' => $this->config->item('evernote/sandbox'))); return $client->getAuthorizeUrl($_SESSION['requestToken']); }
function getAuthorizationUrl() { $client = new Client(array('consumerKey' => OAUTH_CONSUMER_KEY, 'consumerSecret' => OAUTH_CONSUMER_SECRET, 'sandbox' => SANDBOX)); return $client->getAuthorizeUrl($_SESSION['requestToken']); }