diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-09-07 01:39:11 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-09-07 01:39:11 +0200 |
commit | 294cff27a7e5a61b3ca4d1af0b87b2d39aae1534 (patch) | |
tree | 55f2c817b984d76110b17a854c28283919f19121 /lib | |
parent | d4fd47d43f01f14f392e55dd0469ee58ca200729 (diff) | |
download | nextcloud-server-294cff27a7e5a61b3ca4d1af0b87b2d39aae1534.tar.gz nextcloud-server-294cff27a7e5a61b3ca4d1af0b87b2d39aae1534.zip |
add check for zlib
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/util.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 1dcf7c2cbfa..b742e27b55d 100755 --- a/lib/util.php +++ b/lib/util.php @@ -276,6 +276,9 @@ class OC_Util { if(!function_exists('imagepng')){ $errors[]=array('error'=>'PHP module GD is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.'); } + if(!function_exists('gzencode')){ + $errors[]=array('error'=>'PHP module zlib is not installed.<br/>','hint'=>'Please ask your server administrator to install the module.'); + } if(floatval(phpversion())<5.3){ $errors[]=array('error'=>'PHP 5.3 is required.<br/>','hint'=>'Please ask your server administrator to update PHP to version 5.3 or higher. PHP 5.2 is no longer supported by ownCloud and the PHP community.'); } |