add sanity check for hash() function

This commit is contained in:
Andrew Dolgov 2012-03-19 21:23:59 +04:00
parent 0034590992
commit fe2f004cd9
1 changed files with 5 additions and 1 deletions

View File

@ -100,7 +100,11 @@
}
if (!function_exists("mb_strlen")) {
$err_msg = "PHP support for mbstring functions is required, but was not found.";
$err_msg = "PHP support for mbstring functions is required but was not found.";
}
if (!function_exists("hash")) {
$err_msg = "PHP support for hash() function is required but was not found.";
}
if (!function_exists("ctype_lower")) {