From 1b43b3169d7d1eddd831372557c24b143a9f62dd Mon Sep 17 00:00:00 2001 From: Jason MacWilliams Date: Tue, 5 Jun 2012 13:42:54 -0300 Subject: [PATCH] fixed xslt paths --- ObjectDetails.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ObjectDetails.inc b/ObjectDetails.inc index 8c2b7b45..46f5fdf7 100644 --- a/ObjectDetails.inc +++ b/ObjectDetails.inc @@ -89,7 +89,7 @@ function fedora_repository_object_details_XSLT($item) { $input = NULL; $xsl = new DomDocument(); try { - $xsl->load('./'. $path .'/'. variable_get('islandora_object_details_xslt_sheet', 'xsl/convertQDC.xsl')); + $xsl->load('./'. $path .'/'. variable_get('islandora_object_details_xslt_sheet', 'object_details_xslts/convertQDC.xsl')); $input = new DomDocument(); $input->loadXML(trim($xmlstr)); } catch (Exception $e) { @@ -177,7 +177,7 @@ function fedora_repository_object_details_XSLT_config() { $form['config']['xslt'] = array( '#type' => 'select', '#title' => t("XSL transform to use"), - '#default_value' => variable_get('islandora_object_details_xslt_sheet', 'xsl/convertQDC.xsl'), + '#default_value' => variable_get('islandora_object_details_xslt_sheet', 'object_details_xslts/convertQDC.xsl'), '#options' => $options, '#key_type' => 'associative', '#required' => TRUE,