summaryrefslogtreecommitdiff
path: root/ancestry.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-06-11 22:08:12 +0000
committerfisharebest <fisharebest@gmail.com>2011-06-11 22:08:12 +0000
commit340103dfa9c866b468e8649794ae8d1e8261764a (patch)
treeb97a99d2f17aacd6faef32b76f66b6a827f39650 /ancestry.php
parente68aac8538ec2eaf7ce9aa74f53b844cb274ecd5 (diff)
downloadwebtrees-340103dfa9c866b468e8649794ae8d1e8261764a.tar.gz
webtrees-340103dfa9c866b468e8649794ae8d1e8261764a.tar.bz2
webtrees-340103dfa9c866b468e8649794ae8d1e8261764a.zip
Lightbox module: stop loading config everywhere - just where it is used.
Diffstat (limited to 'ancestry.php')
-rw-r--r--ancestry.php55
1 files changed, 25 insertions, 30 deletions
diff --git a/ancestry.php b/ancestry.php
index e0fa5b549c..3faef2f20d 100644
--- a/ancestry.php
+++ b/ancestry.php
@@ -1,33 +1,29 @@
<?php
-/**
-* Displays pedigree tree as a printable booklet
-* with Sosa-Stradonitz numbering system
-* ($rootid=1, father=2, mother=3 ...)
-*
-* webtrees: Web based Family History software
-* Copyright (C) 2011 webtrees development team.
-*
-* Derived from PhpGedView
-* Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
-*
-* This program is free software; you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 2 of the License, or
-* (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*
-* @package webtrees
-* @subpackage Charts
-* @version $Id$
-*/
+// Displays pedigree tree as a printable booklet
+// with Sosa-Stradonitz numbering system
+// ($rootid=1, father=2, mother=3 ...)
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// $Id$
define('WT_SCRIPT_NAME', 'ancestry.php');
require './includes/session.php';
@@ -55,7 +51,6 @@ if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm';
// LightBox
if (WT_USE_LIGHTBOX) {
- require WT_ROOT.WT_MODULES_DIR.'lightbox/lb_defaultconfig.php';
require WT_ROOT.WT_MODULES_DIR.'lightbox/functions/lb_call_js.php';
}