summaryrefslogtreecommitdiff
path: root/index.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 /index.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 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index 5aab50138b..266050801f 100644
--- a/index.php
+++ b/index.php
@@ -22,7 +22,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
define('WT_SCRIPT_NAME', 'index.php');
if (defined ('WT_ROOT')) {
@@ -89,7 +89,6 @@ if ($ctype=='user') {
Zend_Session::writeClose();
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';
}