1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

display correct version in message - Optimise PHP version check for Github sync

related:  94adbd06cc
This commit is contained in:
Jimako
2018-10-18 19:47:56 +02:00
committed by GitHub
parent 6c2c2c7f13
commit 1f040b3fbc

View File

@@ -338,7 +338,7 @@ class system_tools
if(version_compare(PHP_VERSION, $min_php_version, "<"))
{
$mes->addWarning("The minimum required PHP version is <strong>".$min_php_version."</strong>. You are using PHP version <strong>".$php_version."</strong>. <br /> Syncing with Github has been disabled to avoid broken fuctionality."); // No nee to translate, developer mode only
$mes->addWarning("The minimum required PHP version is <strong>".$min_php_version."</strong>. You are using PHP version <strong>".PHP_VERSION."</strong>. <br /> Syncing with Github has been disabled to avoid broken fuctionality."); // No nee to translate, developer mode only
}
else
{