From: Andrew Dolgov Date: Mon, 19 Mar 2012 17:23:59 +0000 (+0400) Subject: add sanity check for hash() function X-Git-Tag: 1.5.11~27 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fe2f004cd990f739ce4b265ce2932b0e11b19f1e;p=tt-rss.git add sanity check for hash() function --- diff --git a/include/sanity_check.php b/include/sanity_check.php index 5c631574..d77be420 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")) {