From f90a81cf77f9ee4b8ee02b31e4b992debd267276 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Mon, 30 Apr 2007 10:59:47 +0000 Subject: [PATCH] Better this way. git-svn-id: file:///svn/phpbb/trunk@7430 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/download.php | 1 + phpBB/style.php | 1 + 2 files changed, 2 insertions(+) diff --git a/phpBB/download.php b/phpBB/download.php index 5b2f7b17cf..d4d04d0479 100644 --- a/phpBB/download.php +++ b/phpBB/download.php @@ -31,6 +31,7 @@ if (isset($_GET['avatar'])) { exit; } + unset($dbpasswd) $config = $cache->obtain_config(); $filename = $_GET['avatar']; diff --git a/phpBB/style.php b/phpBB/style.php index 056ff2cce7..84a2394744 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -67,6 +67,7 @@ if ($id && $sid) { exit; } + unset($dbpasswd); $config = $cache->obtain_config();