Use triple equals, because PHP.
This commit is contained in:
parent
2691a6bbdc
commit
fb3cc1832f
@ -1602,7 +1602,7 @@ function score_assert_handler($file, $line, $code, $desc = null) {
|
|||||||
function _version_check() {
|
function _version_check() {
|
||||||
if(MIN_PHP_VERSION)
|
if(MIN_PHP_VERSION)
|
||||||
{
|
{
|
||||||
if(version_compare(phpversion(), MIN_PHP_VERSION, ">=") == FALSE) {
|
if(version_compare(phpversion(), MIN_PHP_VERSION, ">=") === FALSE) {
|
||||||
print "
|
print "
|
||||||
Shimmie (SCore Engine) does not support versions of PHP lower than ".MIN_PHP_VERSION."
|
Shimmie (SCore Engine) does not support versions of PHP lower than ".MIN_PHP_VERSION."
|
||||||
(PHP reports that it is version ".phpversion().")
|
(PHP reports that it is version ".phpversion().")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user