|
@@ 254-258 (lines=5) @@
|
| 251 |
|
* test if zip is available |
| 252 |
|
*/ |
| 253 |
|
private function zip_test() { |
| 254 |
|
if (exec("which zip") != "") { |
| 255 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>zip</strong> binary found."); |
| 256 |
|
} else { |
| 257 |
|
$this->test_return(\core\common\Entity::L_ERROR, "<strong>zip</strong> not found in your \$PATH!"); |
| 258 |
|
} |
| 259 |
|
} |
| 260 |
|
|
| 261 |
|
/** |
|
@@ 268-272 (lines=5) @@
|
| 265 |
|
exec(CONFIG_DIAGNOSTICS['PATHS']['eapol_test'], $out, $retval); |
| 266 |
|
if ($retval == 255) { |
| 267 |
|
$o = preg_grep('/-o<server cert/', $out); |
| 268 |
|
if (count($o) > 0) { |
| 269 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>eapol_test</strong> script found."); |
| 270 |
|
} else { |
| 271 |
|
$this->test_return(\core\common\Entity::L_ERROR, "<strong>eapol_test</strong> found, but is too old!"); |
| 272 |
|
} |
| 273 |
|
} else { |
| 274 |
|
$this->test_return(\core\common\Entity::L_ERROR, "<strong>eapol_test</strong> not found!"); |
| 275 |
|
} |
|
@@ 522-526 (lines=5) @@
|
| 519 |
|
$allthere .= $onelanguage['locale'] . " "; |
| 520 |
|
} |
| 521 |
|
} |
| 522 |
|
if ($allthere == "") { |
| 523 |
|
$this->test_return(\core\common\Entity::L_OK, "All of your configured locales are available on your system."); |
| 524 |
|
} else { |
| 525 |
|
$this->test_return(\core\common\Entity::L_WARN, "Some of your configured locales (<strong>$allthere</strong>) are not installed and will not be displayed correctly!"); |
| 526 |
|
} |
| 527 |
|
} |
| 528 |
|
|
| 529 |
|
const DEFAULTS = [ |
|
@@ 599-603 (lines=5) @@
|
| 596 |
|
fclose($handle); |
| 597 |
|
} |
| 598 |
|
} |
| 599 |
|
if ($defaultvalues != "") { |
| 600 |
|
$this->test_return(\core\common\Entity::L_WARN, "Your configuration in config/config.php contains unchanged default values or links to inexistent files: <strong>$defaultvalues</strong>!"); |
| 601 |
|
} else { |
| 602 |
|
$this->test_return(\core\common\Entity::L_OK, "Your configuration does not contain any unchanged defaults, which is a good sign."); |
| 603 |
|
} |
| 604 |
|
} |
| 605 |
|
|
| 606 |
|
/** |