git-svn-id: https://msi/svn/firstRepo/Service/branches/Manut_2.2.3@70 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-02-29 17:09:30 +00:00
parent cfb61898b3
commit 7a8491c572
4 changed files with 133 additions and 42 deletions
+4 -1
View File
@@ -52,7 +52,10 @@ class myDropBox {
}
public function GetLink($dropBoxPathFile) {
return $this->dropbox->GetLink($dropBoxPathFile, false, false);
$exp = null;
$ret = $this->dropbox->GetLink($dropBoxPathFile, true, false, $exp);
$ret = str_replace("https://www.dropbox.com/", "https://dl.dropboxusercontent.com/" , $ret);
return $ret;
}
public function CreateFolder($dropBoxPath) {