add check for ctype

This commit is contained in:
Frank Karlitschek 2011-09-28 11:47:29 +02:00
parent 8e42b02a22
commit 0fcd765bd5
1 changed files with 3 additions and 0 deletions

View File

@ -250,6 +250,9 @@ class OC_Util {
if(!function_exists('mb_detect_encoding')){
$errors[]=array('error'=>'PHP module mb multibyte not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
}
if(!function_exists('ctype_digit')){
$errors[]=array('error'=>'PHP module ctype is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.');
}
return $errors;
}