summaryrefslogtreecommitdiff
path: root/descendancy.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 /descendancy.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 'descendancy.php')
-rw-r--r--descendancy.php51
1 files changed, 23 insertions, 28 deletions
diff --git a/descendancy.php b/descendancy.php
index b838e892d2..d5e3e4252e 100644
--- a/descendancy.php
+++ b/descendancy.php
@@ -1,31 +1,27 @@
<?php
-/**
- * Parses gedcom file and displays a descendancy tree.
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 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 a descendancy tree.
+//
+// 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', 'descendancy.php');
require './includes/session.php';
@@ -53,7 +49,6 @@ if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm';
// LBox =====================================================================================
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';
}
// ==========================================================================================