From 6a45dfe3dee8a615f024206eb60c002d9273d73b Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Sat, 8 Oct 2005 19:34:01 +0000 Subject: [PATCH] Move this so it doesn't affect the installer git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5265 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/common.php | 3 +++ phpBB/includes/db.php | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/common.php b/phpBB/common.php index f4f2784762..ce8a6a538a 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -196,6 +196,9 @@ include($phpbb_root_path . 'includes/auth.'.$phpEx); include($phpbb_root_path . 'includes/functions.'.$phpEx); include($phpbb_root_path . 'includes/db.'.$phpEx); +// We do not need this any longer, unset for safety purposes +unset($dbpasswd); + // // Obtain and encode users IP // diff --git a/phpBB/includes/db.php b/phpBB/includes/db.php index 71472854c9..73ca94fc38 100644 --- a/phpBB/includes/db.php +++ b/phpBB/includes/db.php @@ -63,7 +63,4 @@ if(!$db->db_connect_id) message_die(CRITICAL_ERROR, "Could not connect to the database"); } -// We do not need this any longer, unset for safety purposes -unset($dbpasswd); - ?> \ No newline at end of file