Permalink
Browse files

Merge pull request #88 from jonathangreen/6.x

ISLANDORA-548 Updated curl call in ObjectHelper
  • Loading branch information...
2 parents 1476dc6 + c59290c commit 57fd0cd4af8ca7b4123c67774479122443757aeb Jonathan Green committed Mar 28, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 ObjectHelper.inc
View
@@ -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);
}

0 comments on commit 57fd0cd

Please sign in to comment.