summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a4ffd79)
raw | patch | inline | side by side (parent: a4ffd79)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 12:31:23 +0000 (12:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 12:31:23 +0000 (12:31 +0000) |
-Ensure that either 'mhash' or 'sha1' is installed
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18753 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18753 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/setup/class_setupStep_Checks.inc | patch | blob | history |
diff --git a/gosa-core/setup/class_setupStep_Checks.inc b/gosa-core/setup/class_setupStep_Checks.inc
index 15f224c6b8d3e4f8185d6375f605e71fe703d6bc..67336dd701a2f80a65493e6128640d497db0b31d 100644 (file)
$this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
/* Check for installed mhash module */
- $N = msgPool::checkingFor("mhash");
- $D = _("GOsa requires this module to make use of SSHA encryption.");
- $S = msgPool::installPhpModule("mhash");
- $R = is_callable("mhash");
+ $N = msgPool::checkingFor("hash method");
+ $D = _("GOsa requires either 'mhash' or the 'sha1' module to make use of SSHA encryption.");
+ $S = msgPool::installPhpModule("mhash/sha1");
+ $R = is_callable('mhash') || is_callable('sha1');
$M = FALSE;
$this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );