diff options
Diffstat (limited to 'phpBB/style.php')
| -rw-r--r-- | phpBB/style.php | 5 |
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); |
