From d85b3ae528d8417f07af5bac571998ce3564d10f Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 2 Apr 2008 08:51:21 +0000 Subject: #s24575 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8486 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/style.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/style.php') 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); -- cgit v1.2.1