aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-05-03 12:29:26 +0200
committerMario Vavti <mario@mariovavti.com>2017-05-03 12:29:26 +0200
commitd6a3f7765adbbf5f58c08964932d25d3c0364439 (patch)
tree819836582ff40d22a0965ac97f36c51249bd9c32
parentf9d40adb188ef09cb2d76d1bcab9d50391334b7a (diff)
downloadvolse-hubzilla-d6a3f7765adbbf5f58c08964932d25d3c0364439.tar.gz
volse-hubzilla-d6a3f7765adbbf5f58c08964932d25d3c0364439.tar.bz2
volse-hubzilla-d6a3f7765adbbf5f58c08964932d25d3c0364439.zip
add check for php zip extension
-rw-r--r--Zotlabs/Module/Setup.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index 593ba643f..d4c31fd4e 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -508,6 +508,7 @@ class Setup extends \Zotlabs\Web\Controller {
$this->check_add($ck_funcs, t('PDO database PHP module'), true, true);
$this->check_add($ck_funcs, t('mb_string PHP module'), true, true);
$this->check_add($ck_funcs, t('xml PHP module'), true, true);
+ $this->check_add($ck_funcs, t('zip PHP module'), true, true);
if(function_exists('apache_get_modules')){
if (! in_array('mod_rewrite', apache_get_modules())) {
@@ -550,8 +551,12 @@ class Setup extends \Zotlabs\Web\Controller {
$ck_funcs[4]['help'] = t('Error: mb_string PHP module required but not installed.');
}
if(! extension_loaded('xml')) {
+ $ck_funcs[5]['status'] = false;
+ $ck_funcs[5]['help'] = t('Error: xml PHP module required for DAV but not installed.');
+ }
+ if(! extension_loaded('zip')) {
$ck_funcs[6]['status'] = false;
- $ck_funcs[6]['help'] = t('Error: xml PHP module required for DAV but not installed.');
+ $ck_funcs[6]['help'] = t('Error: zip PHP module required but not installed.');
}
$checks = array_merge($checks, $ck_funcs);