Browse Source

Merge pull request #88 from jonathangreen/6.x

ISLANDORA-548 Updated curl call in ObjectHelper
pull/89/merge
Jonathan Green 13 years ago
parent
commit
57fd0cd4af
  1. 3
      ObjectHelper.inc

3
ObjectHelper.inc

@ -122,8 +122,7 @@ class ObjectHelper {
$dsID = variable_get('fedora_default_display_dsid', 'TN');
$mimeType = 'image/jpeg';
}
$url = variable_get('fedora_base_url', 'http://localhost:8080/fedora') . '/get/' . $pid . '/' . $dsID;
$url = variable_get('fedora_base_url', 'http://localhost:8080/fedora') . '/objects/' . $pid . '/datastreams/' . $dsID . '/content';
if ($version) {
$url .= '/' . $version; //drupal_urlencode($version);
}

Loading…
Cancel
Save