summaryrefslogtreecommitdiffstats
path: root/apps/admin_dependencies_chk
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2011-11-06 16:54:05 +0100
committerBrice Maron <brice@bmaron.net>2011-11-06 16:54:05 +0100
commit97291fda5829fd56a22e39b6a62681aaa239bef5 (patch)
tree586ff36bf4ca93d8ac7aa196374099e5fc154bb3 /apps/admin_dependencies_chk
parent3940ca3df1a87a242b70f68b5f89f92cf3251526 (diff)
downloadnextcloud-server-97291fda5829fd56a22e39b6a62681aaa239bef5.tar.gz
nextcloud-server-97291fda5829fd56a22e39b6a62681aaa239bef5.zip
Add allow_url_fopen directive to admin_dependencies_chk
Diffstat (limited to 'apps/admin_dependencies_chk')
-rw-r--r--apps/admin_dependencies_chk/settings.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/admin_dependencies_chk/settings.php b/apps/admin_dependencies_chk/settings.php
index a3c93964977..de2f97aa79d 100644
--- a/apps/admin_dependencies_chk/settings.php
+++ b/apps/admin_dependencies_chk/settings.php
@@ -74,6 +74,11 @@ $modules[] =array(
'modules'=> array('core'),
'message'=> $l->t('The php-ctype module is needed validate data.'));
+$modules[] =array(
+ 'status' => ini_get('allow_url_fopen') == '1' ? 'ok' : 'error',
+ 'part'=> 'allow_url_fopen',
+ 'modules'=> array('core'),
+ 'message'=> $l->t('The allow_url_fopen directive of your php.ini should be set to 1 to retrieve knowledge base from OCS servers'));
foreach($modules as $key => $module) {
$enabled = false ;