From a3dc37dd9f292529f550ec866ef14af28489e5aa Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 14 Feb 2009 13:37:15 -0500 Subject: [PATCH] Change the require_once() calls in _setupDatabase() to be include() --- includes/auth/auth_drupal.php | 2 +- includes/auth/auth_phpbb2.php | 2 +- includes/auth/auth_vbulletin.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/auth/auth_drupal.php b/includes/auth/auth_drupal.php index d9f3f5c..220568f 100644 --- a/includes/auth/auth_drupal.php +++ b/includes/auth/auth_drupal.php @@ -52,7 +52,7 @@ class AuthenticationDrupal extends Authentication parent::_setupDatabase(); // check and see if we need to call session_name() - require_once 'includes/auth/config.php'; + include 'includes/auth/config.php'; $this->cookieName = $config['auth']['Drupal']['cookieName']; $this->cookieName = ($this->cookieName == null ? session_name() : $this->cookieName); } diff --git a/includes/auth/auth_phpbb2.php b/includes/auth/auth_phpbb2.php index 7b6b3db..09a4286 100644 --- a/includes/auth/auth_phpbb2.php +++ b/includes/auth/auth_phpbb2.php @@ -61,7 +61,7 @@ class AuthenticationPhpbb2 extends Authentication { parent::_setupDatabase(); - require_once 'includes/auth/config.php'; + include 'includes/auth/config.php'; $this->phpBBTablePrefix = $config['auth']['phpBB2']['tablePrefix']; $this->cookieName = $config['auth']['phpBB2']['cookieName']; } diff --git a/includes/auth/auth_vbulletin.php b/includes/auth/auth_vbulletin.php index 412fe79..443b827 100644 --- a/includes/auth/auth_vbulletin.php +++ b/includes/auth/auth_vbulletin.php @@ -64,7 +64,7 @@ class AuthenticationVbulletin extends Authentication { parent::_setupDatabase(); - require_once 'includes/auth/config.php'; + include 'includes/auth/config.php'; $this->licenseKey = $config['auth']['vBulletin3']['licenseKey']; $this->vBTablePrefix = $config['auth']['vBulletin3']['tablePrefix']; } -- 2.22.5