summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9218ef)
raw | patch | inline | side by side (parent: b9218ef)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 13:03:14 +0000 (13:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 13:03:14 +0000 (13:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18756 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 d231c4025cf63a1cfd52db8d8a744147ea35dbf3..dc50f43a1a7a6f8443390aa3ddf31a6254713b57 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 );