aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-04-02 08:52:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-04-02 08:52:49 +0000
commitc5081a685ee9321db57c28a381e034241a13093e (patch)
treebd5aafa24aeec9b952775ed12b3c92629ee04489 /phpBB/style.php
parent2deee69e2f9ecd239e59bf651e73c6780227c824 (diff)
downloadforums-c5081a685ee9321db57c28a381e034241a13093e.tar
forums-c5081a685ee9321db57c28a381e034241a13093e.tar.gz
forums-c5081a685ee9321db57c28a381e034241a13093e.tar.bz2
forums-c5081a685ee9321db57c28a381e034241a13093e.tar.xz
forums-c5081a685ee9321db57c28a381e034241a13093e.zip
#s24575
git-svn-id: file:///svn/phpbb/trunk@8487 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index c0f8ed7352..6d5705a074 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -21,6 +21,11 @@ date_default_timezone_set('UTC');
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);