diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php
index f84975cec1..78e73f9e28 100644
--- a/phpgwapi/inc/class.egw_framework.inc.php
+++ b/phpgwapi/inc/class.egw_framework.inc.php
@@ -996,7 +996,13 @@ abstract class egw_framework
}
elseif ($GLOBALS['egw_info']['user']['apps']['admin'])
{
- return html::a_href(html::image('phpgwapi', 'update', lang('Automatic update check failed, you need to check manually!')),
+ $error = lang('Automatic update check failed, you need to check manually!');
+ if (!ini_get('allow_url_fopen'))
+ {
+ $error .= "\n".lang('%1 setting "%2" = %3 disallows access via http!',
+ 'php.ini', 'allow_url_fopen', array2string(ini_get('allow_url_fopen')));
+ }
+ return html::a_href(html::image('phpgwapi', 'update', $error),
'http://www.egroupware.org/changelog', null, ' target="_blank" data-api-version="'.$api.'"');
}
return null;
diff --git a/phpgwapi/lang/egw_de.lang b/phpgwapi/lang/egw_de.lang
index f46137122f..19544c503e 100644
--- a/phpgwapi/lang/egw_de.lang
+++ b/phpgwapi/lang/egw_de.lang
@@ -4,6 +4,7 @@
%1 file common de %1 Datei
%1 is not executable by the webserver !!! common de %1 ist nicht ausführbar durch den Webserver !!!
%1 proxy of %2 common de %1 beauftragt von %2
+%1 setting "%2" = %3 disallows access via http! admin de %1 Einstellung "%2" = %3 verbietet den Zugriff über http!
%1 to sync groupdav de %1 zum synchronisieren
%1choose an other directory%2
or make %3 writeable by webserver common de %1Anderes Verzeichnis auswählen%2
oder %3 geben Sie dem Webserver Schreibrechte für dieses Verzeichnis.
%1egroupware%2 is a multi-user, web-based groupware suite written in %3php%4. common de %1EGroupware%2 ist eine, in %3PHP%4 programmierte, webbasierte, Mehrbenutzer Groupware Suite.
diff --git a/phpgwapi/lang/egw_en.lang b/phpgwapi/lang/egw_en.lang
index d689913a4c..76754753c4 100644
--- a/phpgwapi/lang/egw_en.lang
+++ b/phpgwapi/lang/egw_en.lang
@@ -4,6 +4,7 @@
%1 file common en %1 file
%1 is not executable by the webserver !!! common en %1 is not executable by the web server!
%1 proxy of %2 common en %1 proxy of %2
+%1 setting "%2" = %3 disallows access via http! admin en %1 setting "%2" = %3 disallows access via http!
%1 to sync groupdav en %1 to sync
%1choose an other directory%2
or make %3 writeable by webserver common en %1Choose an other directory%2
or make %3 writable by web server.
%1egroupware%2 is a multi-user, web-based groupware suite written in %3php%4. common en %1eGroupWare%2 is a multi-user, web-based groupware suite written in %3PHP%4.
diff --git a/setup/check_install.php b/setup/check_install.php
index ed9e89991f..f8c4941f22 100644
--- a/setup/check_install.php
+++ b/setup/check_install.php
@@ -112,6 +112,13 @@ $checks = array(
'error' => lang('%1 is set to %2, you will NOT be able to upload or attach files bigger then that!','post_max_size',ini_get('max_post_size')),
'change' => 'post_max_size = 8M'
),
+ 'allow_url_fopen' => array(
+ 'func' => 'php_ini_check',
+ 'value' => 1,
+ 'verbose_value' => 'On',
+ 'error' => lang('%1 setting "%2" = %3 disallows access via http!',
+ 'php.ini', 'allow_url_fopen', array2string(ini_get('allow_url_fopen'))),
+ ),
'session' => array(
'func' => 'extension_check',
'error' => lang('The session extension is required!')