aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/style.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index e238fe63a0..8a190ed520 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -16,7 +16,10 @@ $phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'config.' . $phpEx);
-set_magic_quotes_runtime(0);
+if (version_compare(PHP_VERSION, '6.0.0-dev', '<'))
+{
+ set_magic_quotes_runtime(0);
+}
// Load Extensions
if (!empty($load_extensions))