From 51de8b1cabf9fd1923f0c6d5a3ec80ccce0929f1 Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Thu, 10 Oct 2013 11:02:43 -0300 Subject: [PATCH] removed reference to DRUPAL_ROOT --- includes/ingest.form.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ingest.form.inc b/includes/ingest.form.inc index 1bffcfe1..a01e8084 100644 --- a/includes/ingest.form.inc +++ b/includes/ingest.form.inc @@ -423,7 +423,7 @@ function islandora_ingest_form_execute_callback_step(array $form, array &$form_s $args = array(&$form_state); $args = isset($step['do_function']['args']) ? array_merge($args, $step['do_function']['args']) : $args; if (isset($step['do_function']['file'])) { - require_once DRUPAL_ROOT . '/' . drupal_get_path('module', $step['module']) . "/" . $step['do_function']['file']; + require_once drupal_get_path('module', $step['module']) . "/" . $step['do_function']['file']; } call_user_func_array($step['do_function']['function'], $args); } @@ -464,7 +464,7 @@ function islandora_ingest_form_undo_callback_step(array $form, array &$form_stat $args = array(&$form_state); $args = isset($step['undo_function']['args']) ? array_merge($args, $step['undo_function']['args']) : $args; if (isset($step['undo_function']['file'])) { - require_once DRUPAL_ROOT . '/' . drupal_get_path('module', $step['module']) . "/" . $step['undo_function']['file']; + require_once drupal_get_path('module', $step['module']) . "/" . $step['undo_function']['file']; } call_user_func_array($step['undo_function']['function'], $args); }