diff options
author | David M <davidmj@users.sourceforge.net> | 2007-03-22 00:59:15 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-03-22 00:59:15 +0000 |
commit | fe7090190468b1f86a0da338573f8f772474e847 (patch) | |
tree | f14a909eaa5ceb391b4ea33e770a86f457ceec22 /phpBB/style.php | |
parent | f6042019fa17d1256dbf9a121034b21d1bb051eb (diff) | |
download | forums-fe7090190468b1f86a0da338573f8f772474e847.tar forums-fe7090190468b1f86a0da338573f8f772474e847.tar.gz forums-fe7090190468b1f86a0da338573f8f772474e847.tar.bz2 forums-fe7090190468b1f86a0da338573f8f772474e847.tar.xz forums-fe7090190468b1f86a0da338573f8f772474e847.zip |
#5205
git-svn-id: file:///svn/phpbb/trunk@7214 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r-- | phpBB/style.php | 5 |
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)) |