From adfda9ed178c46d7d2a03d859264b2e6576298d5 Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Thu, 9 Aug 2012 10:25:22 -0300 Subject: [PATCH] Change the variable_get to correctly grab 6.x's fedora_base url. --- api/tuque.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tuque.inc b/api/tuque.inc index 553c4fe6..e53f6d5d 100644 --- a/api/tuque.inc +++ b/api/tuque.inc @@ -2,7 +2,7 @@ $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/FedoraApi.php'; @include_once 'sites/all/libraries/tuque/FedoraApiSerializer.php'; @@ -67,7 +67,7 @@ class IslandoraTuque { } 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()) {