mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
check if allow_url_fopen = On
This commit is contained in:
parent
ca4f49121f
commit
b98972582c
@ -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;
|
||||
|
@ -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<br />or make %3 writeable by webserver common de %1Anderes Verzeichnis auswählen%2<br />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.
|
||||
|
@ -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<br />or make %3 writeable by webserver common en %1Choose an other directory%2<br />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.
|
||||
|
@ -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!')
|
||||
|
Loading…
Reference in New Issue
Block a user