Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-05-07 17:12:40 +0400
committerBart Visscher <bartv@thisnet.nl>2013-05-07 17:12:40 +0400
commit398fbb61f8d4f579da3891c4516d5fb71759246a (patch)
treee1cdd6e701c02e9282cb2f4b24c24131066e2505 /lib/util.php
parentdeb0885e46e3dab774ca42dd8e95cd979bf5f30a (diff)
parent2b9da8a6c9314d2279725c345f6e25a70fb9a30d (diff)
Merge pull request #2813 from owncloud/improve-lib-check
added correct check for gd and check for php-intl
Diffstat (limited to 'lib/util.php')
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 382c2efce75..79509b1c3b2 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -248,7 +248,7 @@ class OC_Util {
'hint'=>'Please ask your server administrator to install the module.');
$web_server_restart=true;
}
- if(!function_exists('imagepng')) {
+ if(!extension_loaded('gd') || !function_exists('gd_info')) {
$errors[]=array('error'=>'PHP module GD is not installed.',
'hint'=>'Please ask your server administrator to install the module.');
$web_server_restart=true;