Updating the Dropbox upload API version.

Switching to Sandbax mode.
This commit is contained in:
Jaisen Mathai 2011-11-28 20:43:11 -08:00
parent 1fed9cd0ea
commit 020335b989
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ class FileSystemDropboxBase
'token' => Utility::decrypt(getConfig()->get('credentials')->dropboxToken),
'token_secret' => Utility::decrypt(getConfig()->get('credentials')->dropboxTokenSecret)
));
$this->dropbox = new Dropbox_API($oauth);
$this->dropbox = new Dropbox_API($oauth, Dropbox_API::ROOT_SANDBOX);
$this->dropboxFolder = getConfig()->get('dropbox')->dropboxFolder;
$this->parent = $parent;
}

View file

@ -28,7 +28,7 @@ class Dropbox_API {
/**
* Content API URl
*/
protected $api_content_url = 'api-content.dropbox.com/0/';
protected $api_content_url = 'api-content.dropbox.com/1/';
/**
* OAuth object