diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-04-02 08:51:21 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-04-02 08:51:21 +0000 |
commit | d85b3ae528d8417f07af5bac571998ce3564d10f (patch) | |
tree | 8e4cfb601dedea53b6bc1078a7a377db1612da86 /phpBB | |
parent | daa2afbe3681c5413daa6e6c9c069f90efd0baf9 (diff) | |
download | forums-d85b3ae528d8417f07af5bac571998ce3564d10f.tar forums-d85b3ae528d8417f07af5bac571998ce3564d10f.tar.gz forums-d85b3ae528d8417f07af5bac571998ce3564d10f.tar.bz2 forums-d85b3ae528d8417f07af5bac571998ce3564d10f.tar.xz forums-d85b3ae528d8417f07af5bac571998ce3564d10f.zip |
#s24575
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8486 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
-rw-r--r-- | phpBB/style.php | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 26f7a74021..9a94b71ed0 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -148,6 +148,7 @@ <li>[Fix] If pruning users based on last activity, do not include users never logged in before (Bug #18105)</li> <li>[Sec] Only allow searching by email address in memberlist for users having the a_user permission (reported by evil<3)</li> <li>[Sec] Limit private message attachments to be viewable only by the recipient(s)/sender (Report #s23535) - reported by AlleyKat</li> + <li>[Sec] Check for non-empty config.php within style.php (Report #s24575) - reported by bantu</li> </ul> <a name="v30rc8"></a><h3>1.i. Changes since 3.0.RC8</h3> diff --git a/phpBB/style.php b/phpBB/style.php index 469e2b7727..9d38128356 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -20,6 +20,11 @@ error_reporting(E_ALL ^ E_NOTICE); require($phpbb_root_path . 'config.' . $phpEx); +if (!defined('PHPBB_INSTALLED') || empty($dbms) || !isset($dbhost) || !isset($dbpasswd) || empty($dbuser)) +{ + exit; +} + if (version_compare(PHP_VERSION, '6.0.0-dev', '<')) { set_magic_quotes_runtime(0); |