fix for dropbox transfer

Former-commit-id: 0f54df45d7
This commit is contained in:
Leon 2017-03-12 18:14:58 +13:00
parent c62fc5b818
commit b93e8e1751

View file

@ -316,7 +316,7 @@ class StaticHtmlOutput {
foreach($files as $item){
if($item != '.' && $item != '..'){
if(is_dir($dir.'/'.$item)) {
FolderToDropbox($dir.$item, $dbxClient, $siteroot, $dropboxFolder);
FolderToDropbox($dir.'/'.$item, $dbxClient, $siteroot, $dropboxFolder);
} else if(is_file($dir.'/'.$item)) {
$clean_dir = str_replace($siteroot, '', $dir.'/'.$item);