diff --git a/templates/ktcore/document/add.smarty b/templates/ktcore/document/add.smarty index 6b23f70..181def1 100644 --- a/templates/ktcore/document/add.smarty +++ b/templates/ktcore/document/add.smarty @@ -29,7 +29,7 @@ function swapElementFromRequest(elementId, url) { function getMetadataForType(id) { swapElementFromRequest('type_metadata_fields', - 'http://ktcvs.local/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + 'http://{/literal}{$config->get('KnowledgeTree/serverName')}{literal}/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + id); } diff --git a/templates/ktcore/import/fs_import.smarty b/templates/ktcore/import/fs_import.smarty index ac93447..8afe029 100644 --- a/templates/ktcore/import/fs_import.smarty +++ b/templates/ktcore/import/fs_import.smarty @@ -28,7 +28,7 @@ function swapElementFromRequest(elementId, url) { function getMetadataForType(id) { swapElementFromRequest('type_metadata_fields', - 'http://ktcvs.local/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + 'http://{/literal}{$config->get('KnowledgeTree/serverName')}{literal}/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + id); }