Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #88 from jonathangreen/6.x

ISLANDORA-548 Updated curl call in ObjectHelper
  • Loading branch information...
commit 57fd0cd4af8ca7b4123c67774479122443757aeb 2 parents 1476dc6 + c59290c
@jonathangreen jonathangreen authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  ObjectHelper.inc
View
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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.