|
|
@@ -5148,7 +5148,11 @@ jQuery(document).ready(function(){
|
|
|
|
|
|
$sharePoint = V::get('share_point', null, $folderConf);
|
|
|
if ($sharePoint) {
|
|
|
- $sharePoint = FoldersConfig::getNfsOsPath() . "{$sharePoint}/{$mainFolder}";
|
|
|
+ if ('//' == substr($mainFolder, 0, 2)) {
|
|
|
+ $sharePoint = FoldersConfig::getNfsOsPath() . "{$mainFolder}";
|
|
|
+ } else {
|
|
|
+ $sharePoint = FoldersConfig::getNfsOsPath() . "{$sharePoint}/{$mainFolder}";
|
|
|
+ }
|
|
|
}
|
|
|
$localPath = $uploader->getLocalPath();
|
|
|
$folderWeb = $uploader->getFolderWeb();
|