diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions.php | 1 | ||||
| -rw-r--r-- | includes/functions/functions_print.php | 2 | ||||
| -rw-r--r-- | includes/session.php | 2 | ||||
| -rw-r--r-- | includes/set_gedcom_defaults.php | 1 |
4 files changed, 2 insertions, 4 deletions
diff --git a/includes/functions/functions.php b/includes/functions/functions.php index be0ce904be..3ba67efe19 100644 --- a/includes/functions/functions.php +++ b/includes/functions/functions.php @@ -202,7 +202,6 @@ function load_gedcom_settings($ged_id=WT_GED_ID) { global $EXPAND_RELATIVES_EVENTS; $EXPAND_RELATIVES_EVENTS =get_gedcom_setting($ged_id, 'EXPAND_RELATIVES_EVENTS'); global $EXPAND_SOURCES; $EXPAND_SOURCES =get_gedcom_setting($ged_id, 'EXPAND_SOURCES'); global $FAM_ID_PREFIX; $FAM_ID_PREFIX =get_gedcom_setting($ged_id, 'FAM_ID_PREFIX'); - global $FAVICON; $FAVICON =get_gedcom_setting($ged_id, 'FAVICON'); global $FULL_SOURCES; $FULL_SOURCES =get_gedcom_setting($ged_id, 'FULL_SOURCES'); global $GEDCOM_DEFAULT_TAB; $GEDCOM_DEFAULT_TAB =get_gedcom_setting($ged_id, 'GEDCOM_DEFAULT_TAB'); global $GEDCOM_ID_PREFIX; $GEDCOM_ID_PREFIX =get_gedcom_setting($ged_id, 'GEDCOM_ID_PREFIX'); diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 7b69bb4e40..da95fe4ae2 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -404,7 +404,7 @@ function print_pedigree_person($pid, $style=1, $count=0, $personcount="1") { function print_header($title, $head="", $use_alternate_styles=true) { global $bwidth, $HOME_SITE_URL, $HOME_SITE_TEXT, $BROWSERTYPE, $SEARCH_SPIDER, $view, $cart; global $GEDCOM, $GEDCOM_TITLE, $QUERY_STRING, $action, $query, $theme_name; - global $FAVICON, $stylesheet, $print_stylesheet, $rtl_stylesheet, $headerfile, $toplinks, $THEME_DIR, $print_headerfile; + global $stylesheet, $print_stylesheet, $rtl_stylesheet, $headerfile, $toplinks, $THEME_DIR, $print_headerfile; global $WT_IMAGES, $TEXT_DIRECTION, $ONLOADFUNCTION, $REQUIRE_AUTHENTICATION; header("Content-Type: text/html; charset=UTF-8"); diff --git a/includes/session.php b/includes/session.php index 24fe961e6d..c1f653b184 100644 --- a/includes/session.php +++ b/includes/session.php @@ -42,7 +42,7 @@ define('WT_TRANSLATORS_URL', 'https://translations.launchpad.net/webtrees'); // Enable debugging output? define('WT_DEBUG', false); -define('WT_DEBUG_SQL', false); +define('WT_DEBUG_SQL', true); // Error reporting define('WT_ERROR_LEVEL', 2); // 0=none, 1=minimal, 2=full diff --git a/includes/set_gedcom_defaults.php b/includes/set_gedcom_defaults.php index 2fe074ebe7..a8fe08edac 100644 --- a/includes/set_gedcom_defaults.php +++ b/includes/set_gedcom_defaults.php @@ -62,7 +62,6 @@ set_gedcom_setting($ged_id, 'FAM_FACTS_ADD', 'CENS,MARR,RESI,SLGS set_gedcom_setting($ged_id, 'FAM_FACTS_QUICK', 'MARR,DIV,_NMR'); set_gedcom_setting($ged_id, 'FAM_FACTS_UNIQUE', 'NCHI,MARL,DIV,ANUL,DIVF,ENGA,MARB,MARC,MARS'); set_gedcom_setting($ged_id, 'FAM_ID_PREFIX', 'F'); -set_gedcom_setting($ged_id, 'FAVICON', 'images/favicon.ico'); set_gedcom_setting($ged_id, 'FULL_SOURCES', false); set_gedcom_setting($ged_id, 'GEDCOM_DEFAULT_TAB', 'personal_facts'); set_gedcom_setting($ged_id, 'GEDCOM_ID_PREFIX', 'I'); |
