Browse Source

Merge pull request #154 from jordandukart/6.x

Change the variable_get in the Tuque wrapper to correctly grab 6.x's fedora_base url.
pull/155/merge
Jonathan Green 13 years ago
parent
commit
ef6187ef0d
  1. 4
      api/tuque.inc

4
api/tuque.inc

@ -2,7 +2,7 @@
$islandora_module_path = drupal_get_path('module', 'fedora_repository'); $islandora_module_path = drupal_get_path('module', 'fedora_repository');
//do this until we expost these in a module or library //do this until we export these in a module or library
@include_once 'sites/all/libraries/tuque/Datastream.php'; @include_once 'sites/all/libraries/tuque/Datastream.php';
@include_once 'sites/all/libraries/tuque/FedoraApi.php'; @include_once 'sites/all/libraries/tuque/FedoraApi.php';
@include_once 'sites/all/libraries/tuque/FedoraApiSerializer.php'; @include_once 'sites/all/libraries/tuque/FedoraApiSerializer.php';
@ -67,7 +67,7 @@ class IslandoraTuque {
} }
if (!isset($url)) { if (!isset($url)) {
$url = variable_get('islandora_base_url', 'http://localhost:8080/fedora'); $url = variable_get('fedora_base_url', 'http://localhost:8080/fedora');
} }
if(self::exists()) { if(self::exists()) {

Loading…
Cancel
Save