diff --git a/includes/tuque.inc b/includes/tuque.inc index c7d208dc..0f953288 100644 --- a/includes/tuque.inc +++ b/includes/tuque.inc @@ -7,6 +7,8 @@ $islandora_module_path = drupal_get_path('module', 'islandora'); +set_include_path(get_include_path() . PATH_SEPARATOR . 'sites/all/libraries/tuque' . PATH_SEPARATOR . "$islandora_module_path/libraries/tuque/"); + // Do this until we expose these in a module or library. @include_once 'sites/all/libraries/tuque/implementations/fedora3/Datastream.php'; @include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApi.php'; diff --git a/includes/tuque_wrapper.inc b/includes/tuque_wrapper.inc index ab1dea42..f15dc69d 100644 --- a/includes/tuque_wrapper.inc +++ b/includes/tuque_wrapper.inc @@ -9,8 +9,9 @@ */ $islandora_module_path = drupal_get_path('module', 'islandora'); +set_include_path(get_include_path() . PATH_SEPARATOR . 'sites/all/libraries/tuque' . PATH_SEPARATOR . "$islandora_module_path/libraries/tuque/"); -// @todo this until we expost these in a module or library +// Do this until we expose these in a module or library. @include_once 'sites/all/libraries/tuque/implementations/fedora3/Datastream.php'; @include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApi.php'; @include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApiSerializer.php';