diff options
Diffstat (limited to 'includes/functions/functions_print.php')
| -rw-r--r-- | includes/functions/functions_print.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 7da6ccb775..13a5b374e3 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -357,8 +357,7 @@ function print_pedigree_person($pid, $style=1, $count=0, $personcount="1") { } } } - global $THEME_DIR; - require $THEME_DIR.'templates/personbox_template.php'; + require WT_THEME_DIR.'templates/personbox_template.php'; } /** @@ -375,7 +374,7 @@ function print_pedigree_person($pid, $style=1, $count=0, $personcount="1") { function print_header($title) { global $bwidth, $BROWSERTYPE, $SEARCH_SPIDER, $view, $cart; global $GEDCOM, $GEDCOM_TITLE, $action, $query, $theme_name; - global $stylesheet, $print_stylesheet, $rtl_stylesheet, $headerfile, $THEME_DIR, $print_headerfile; + global $stylesheet, $print_stylesheet, $rtl_stylesheet, $headerfile, $print_headerfile; global $WT_IMAGES, $TEXT_DIRECTION, $REQUIRE_AUTHENTICATION; header('Content-Type: text/html; charset=UTF-8'); |
