summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-03-19 21:23:59 +0400
committerAndrew Dolgov <[email protected]>2012-03-19 21:23:59 +0400
commitfe2f004cd990f739ce4b265ce2932b0e11b19f1e (patch)
tree4c17ede8a9d54ea611882221d25387fb00e128a6 /include
parent00345909921e9191a7eec40ada74662d447a606f (diff)
add sanity check for hash() function
Diffstat (limited to 'include')
-rw-r--r--include/sanity_check.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index 5c631574d..d77be4201 100644
--- a/include/sanity_check.php
+++ b/include/sanity_check.php
@@ -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")) {