diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-06-11 22:08:12 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-06-11 22:08:12 +0000 |
| commit | 340103dfa9c866b468e8649794ae8d1e8261764a (patch) | |
| tree | b97a99d2f17aacd6faef32b76f66b6a827f39650 /medialist.php | |
| parent | e68aac8538ec2eaf7ce9aa74f53b844cb274ecd5 (diff) | |
| download | webtrees-340103dfa9c866b468e8649794ae8d1e8261764a.tar.gz webtrees-340103dfa9c866b468e8649794ae8d1e8261764a.tar.bz2 webtrees-340103dfa9c866b468e8649794ae8d1e8261764a.zip | |
Lightbox module: stop loading config everywhere - just where it is used.
Diffstat (limited to 'medialist.php')
| -rw-r--r-- | medialist.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/medialist.php b/medialist.php index 45e4dcf77c..5525b25e42 100644 --- a/medialist.php +++ b/medialist.php @@ -27,7 +27,6 @@ define('WT_SCRIPT_NAME', 'medialist.php'); require './includes/session.php'; require_once WT_ROOT.'includes/functions/functions_print_facts.php'; -// $LB_SS_SPEED = '5'; $level = safe_GET('level', '', '0'); $action = safe_GET('action'); $search = safe_GET('search'); @@ -133,7 +132,6 @@ print_header(WT_I18N::translate('Media objects')); echo '<div class="center"><h2>', WT_I18N::translate('Media objects'), '</h2></div>'; // Get Javascript variables from lb_config.php --------------------------- 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'; } // ************************ BEGIN = 'Build the medialist array' ************************ |
