Browse Source

Fix include path.

pull/321/head
Jonathan Green 12 years ago
parent
commit
fb7ae1b79f
  1. 2
      includes/tuque.inc
  2. 3
      includes/tuque_wrapper.inc

2
includes/tuque.inc

@ -7,6 +7,8 @@
$islandora_module_path = drupal_get_path('module', 'islandora'); $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. // 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/Datastream.php';
@include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApi.php'; @include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApi.php';

3
includes/tuque_wrapper.inc

@ -9,8 +9,9 @@
*/ */
$islandora_module_path = drupal_get_path('module', 'islandora'); $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/Datastream.php';
@include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApi.php'; @include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApi.php';
@include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApiSerializer.php'; @include_once 'sites/all/libraries/tuque/implementations/fedora3/FedoraApiSerializer.php';

Loading…
Cancel
Save