mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 14:47:52 +02:00
- using the PHP_VERSION constant is faster
git-svn-id: file:///svn/phpbb/trunk@6779 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f50d52588c
commit
c1b5a3b328
@ -76,7 +76,7 @@ function deregister_globals()
|
||||
}
|
||||
|
||||
// If we are on PHP >= 6.0.0 we do not need some code
|
||||
if (version_compare(phpversion(), '6.0.0-dev', '>='))
|
||||
if (version_compare(PHP_VERSION, '6.0.0-dev', '>='))
|
||||
{
|
||||
/**
|
||||
* @ignore
|
||||
|
Loading…
x
Reference in New Issue
Block a user