|
@@ 402-406 (lines=5) @@
|
| 399 |
|
$A = $this->get_exec_path('openssl'); |
| 400 |
|
if ($A['exec'] != "") { |
| 401 |
|
$t = exec($A['exec'] . ' version'); |
| 402 |
|
if ($A['exec_is'] == "EXPLICIT") { |
| 403 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>$t</strong> was found and is configured explicitly in your config."); |
| 404 |
|
} else { |
| 405 |
|
$this->test_return(\core\common\Entity::L_WARN, "<strong>$t</strong> was found, but is not configured with an absolute path in your config."); |
| 406 |
|
} |
| 407 |
|
} else { |
| 408 |
|
$this->test_return(\core\common\Entity::L_ERROR, "<strong>openssl</strong> was not found on your system!"); |
| 409 |
|
} |
|
@@ 427-431 (lines=5) @@
|
| 424 |
|
$A = $this->get_exec_path('makensis'); |
| 425 |
|
if ($A['exec'] != "") { |
| 426 |
|
$t = exec($A['exec'] . ' -VERSION'); |
| 427 |
|
if ($A['exec_is'] == "EXPLICIT") { |
| 428 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>makensis $t</strong> was found and is configured explicitly in your config."); |
| 429 |
|
} else { |
| 430 |
|
$this->test_return(\core\common\Entity::L_WARN, "<strong>makensis $t</strong> was found, but is not configured with an absolute path in your config."); |
| 431 |
|
} |
| 432 |
|
exec($A['exec'] . ' -HELP', $t); |
| 433 |
|
$t1 = count(preg_grep('/INPUTCHARSET/', $t)); |
| 434 |
|
if ($t1 == 1 && CONFIG_CONFASSISTANT['NSIS_VERSION'] == 2) { |