File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ function os2web_cp_service_handler() {
73
73
*/
74
74
function os2web_gf_service_handler($file_id) {
75
75
if ($url = variable_get('os2web_cp_service_cp_document_fileurl')) {
76
- variable_set('os2web_cp_service_cp_document_fileurl', 'http://10.1.1.118/Traen%20Publishing%20File%20Service%20-%20Sydjurs.dk/Download.aspx');
77
76
78
77
$username = variable_get('os2web_cp_service_endpoint_user');
79
78
$password = variable_get('os2web_cp_service_endpoint_password');
@@ -527,7 +526,7 @@ function os2web_cp_service_create_document(array $data) {
527
526
if ($is_missing) {
528
527
$cnode->field_os2web_cp_service_doc_ref[LANGUAGE_NONE][]['target_id'] = $node->nid;
529
528
//adding for pdf 2 html conversion,
[email protected]
530
- os2web_cp_service_schedule_document_pdf2html_conversion($data['fields']['FilID '], $cnode->nid);
529
+ os2web_cp_service_schedule_document_pdf2html_conversion($data['fields']['Indhold - FileID '], $cnode->nid);
531
530
node_save($cnode);
532
531
}
533
532
}
@@ -962,7 +961,7 @@ function os2web_cp_service_cron(){
962
961
* @return none
963
962
*/
964
963
function _os2web_cp_service_document_download($file_id){
965
- $url = $GLOBALS['base_url'] . '/?q= os2web/service/gf/v1/' . $file_id;//address of remote file
964
+ $url = $GLOBALS['base_url'] . '/os2web/service/gf/v1/' . $file_id;//address of remote file
966
965
$tmpfname = tempnam(file_directory_temp(), "os2web_cp_document_");//path to where the file will be downloaded
967
966
968
967
$fp = fopen($tmpfname, 'w');
You can’t perform that action at this time.
0 commit comments