add check for ctype
This commit is contained in:
parent
8e42b02a22
commit
0fcd765bd5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue