From fe7090190468b1f86a0da338573f8f772474e847 Mon Sep 17 00:00:00 2001 From: David M Date: Thu, 22 Mar 2007 00:59:15 +0000 Subject: [PATCH] #5205 git-svn-id: file:///svn/phpbb/trunk@7214 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/style.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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))