class/utilities.php 1 location
|
@@ 89-94 (lines=6) @@
|
| 86 |
|
$success = true; |
| 87 |
|
$verNum = phpversion(); |
| 88 |
|
$reqVer =& $module->getInfo('min_php'); |
| 89 |
|
if (isset($reqVer)) { |
| 90 |
|
if (version_compare($verNum, $reqVer, '<')) { |
| 91 |
|
$module->setErrors(sprintf(_AM_TAG_ERROR_BAD_PHP, $reqVer, $verNum)); |
| 92 |
|
$success = false; |
| 93 |
|
} |
| 94 |
|
} |
| 95 |
|
return $success; |
| 96 |
|
} |
| 97 |
|
} |
class/utility.php 1 location
|
@@ 138-141 (lines=4) @@
|
| 135 |
|
$verNum = phpversion(); |
| 136 |
|
$reqVer =& $module->getInfo('min_php'); |
| 137 |
|
if (false !== $reqVer && '' !== $reqVer) { |
| 138 |
|
if (version_compare($verNum, $reqVer, '<')) { |
| 139 |
|
$module->setErrors(sprintf(_AM_XXXXX_ERROR_BAD_PHP, $reqVer, $verNum)); |
| 140 |
|
$success = false; |
| 141 |
|
} |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
return $success; |