fix: Обновлены пути Nextcloud с /crm2/ на /crm/ для нового сервера
Обновленные файлы: - crm_extensions/nextcloud_editor/js/nextcloud-editor.js (5 путей) - crm_extensions/file_storage/api/get_edit_urls.php (6 путей) - modules/Documents/actions/NcPrepareEdit.php (2 пути) - crm_extensions/file_storage/api/prepare_edit.php (1 путь) - crm_extensions/file_storage/NextcloudClient.php (1 путь) - data/CRMEntity.php (nc_path для новых файлов) Все пути теперь используют /crm/ вместо /crm2/ для соответствия новому External Storage на office.clientright.ru
This commit is contained in:
@@ -203,7 +203,7 @@ class NextcloudClient {
|
||||
if (substr($fileName, 0, 1) === '_') {
|
||||
$fileName = substr($fileName, 1);
|
||||
}
|
||||
$editUrl = $this->baseUrl . '/apps/files/?dir=/crm2/CRM_Active_Files/Documents/' . $recordId . '&openfile=' . urlencode($fileName);
|
||||
$editUrl = $this->baseUrl . '/apps/files/?dir=/crm/CRM_Active_Files/Documents/' . $recordId . '&openfile=' . urlencode($fileName);
|
||||
|
||||
return [
|
||||
'success' => true,
|
||||
|
||||
Reference in New Issue
Block a user