diff options
author | Frank Karlitschek <karlitschek@kde.org> | 2011-09-28 11:47:29 +0200 |
---|---|---|
committer | Frank Karlitschek <karlitschek@kde.org> | 2011-09-28 11:47:29 +0200 |
commit | 0fcd765bd5560b4188c7e424082a4ebc1b2a3694 (patch) | |
tree | 0ff56d54de3c973dfa3cecca19e83ec25a96aa33 /lib | |
parent | 8e42b02a224f0f476ecd7ac306a7a9cddeba8ebf (diff) | |
download | nextcloud-server-0fcd765bd5560b4188c7e424082a4ebc1b2a3694.tar.gz nextcloud-server-0fcd765bd5560b4188c7e424082a4ebc1b2a3694.zip |
add check for ctype
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index c7a2c509800..4b75b0808e8 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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; } |