|
@@ 349-353 (lines=5) @@
|
| 346 |
|
$A = $this->get_exec_path('openssl'); |
| 347 |
|
if ($A['exec'] != "") { |
| 348 |
|
$t = exec($A['exec'] . ' version'); |
| 349 |
|
if ($A['exec_is'] == "EXPLICIT") { |
| 350 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>$t</strong> was found and is configured explicitly in your config."); |
| 351 |
|
} else { |
| 352 |
|
$this->test_return(\core\common\Entity::L_WARN, "<strong>$t</strong> was found, but is not configured with an absolute path in your config."); |
| 353 |
|
} |
| 354 |
|
} else { |
| 355 |
|
$this->test_return(\core\common\Entity::L_ERROR, "<strong>openssl</strong> was not found on your system!"); |
| 356 |
|
} |
|
@@ 374-378 (lines=5) @@
|
| 371 |
|
$A = $this->get_exec_path('makensis'); |
| 372 |
|
if ($A['exec'] != "") { |
| 373 |
|
$t = exec($A['exec'] . ' -VERSION'); |
| 374 |
|
if ($A['exec_is'] == "EXPLICIT") { |
| 375 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>makensis $t</strong> was found and is configured explicitly in your config."); |
| 376 |
|
} else { |
| 377 |
|
$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."); |
| 378 |
|
} |
| 379 |
|
exec($A['exec'] . ' -HELP', $t); |
| 380 |
|
$t1 = count(preg_grep('/INPUTCHARSET/', $t)); |
| 381 |
|
if ($t1 == 1 && CONFIG_CONFASSISTANT['NSIS_VERSION'] == 2) { |