Skip to content

Commit

Permalink
Install: Add system checks for OpenSSL and allow_url_fopen
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-gh authored and andygrunwald committed Feb 7, 2019
1 parent efcdda9 commit c505235
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 110 deletions.
16 changes: 16 additions & 0 deletions modules/install/Classes/Install.php
Expand Up @@ -795,6 +795,22 @@ public function envcheck()
} }
$dsp->AddDoubleRow("FTP Library", $ftp_check); $dsp->AddDoubleRow("FTP Library", $ftp_check);


// OpenSSL
if (extension_loaded('openssl')) {
$openssl_check = $ok;
} else {
$openssl_check = $not_possible . t('Auf deinem System konnte das PHP-Modul <b>OpenSSL</b> nicht gefunden werden. Dies hat zur Folge dass Module, die HTTPS Verbindungen zu anderen Servern aufbauen, nicht funktionieren');
}
$dsp->AddDoubleRow("OpenSSL", $openssl_check);

// allow_url_fopen
if (ini_get('allow_url_fopen')) {
$allowurlfopen_check = $ok;
} else {
$allowurlfopen_check = $not_possible . t('In deiner PHP Konfiguration ist <b>allow_url_fopen</b> nicht aktiviert. Dadurch können einige Module (z.B. Discord, Partylist) keine externen Verbindungen aufbauen und werden daher nicht funktionieren');
}
$dsp->AddDoubleRow("allow_url_fopen", $allowurlfopen_check);

$dsp->AddFieldSetEnd(); $dsp->AddFieldSetEnd();


// Information // Information
Expand Down
130 changes: 20 additions & 110 deletions modules/install/mod_settings/translation.xml
Expand Up @@ -3559,116 +3559,26 @@
<it>Dettagli</it> <it>Dettagli</it>
<file>install</file> <file>install</file>
</entry> </entry>
<entry> <entry>
<id></id> <id>6907ea946b45f307548691a0a7d6f105</id>
<org></org> <org>Auf deinem System konnte das PHP-Modul &lt;b&gt;OpenSSL&lt;/b&gt; nicht gefunden werden. Dies hat zur Folge dass Module, die HTTPS Verbindungen zu anderen Servern aufbauen, nicht funktionieren</org>
<file>install</file> <en>The &lt;b&gt;OpenSSL&lt;/b&gt; PHP module was not found on your system. This will cause issues with modules that establish HTTPS connections to other servers</en>
</entry> <es>The &lt;b&gt;OpenSSL&lt;/b&gt; PHP module was not found on your system. This will cause issues with modules that establish HTTPS connections to other servers</es>
<entry> <fr>The &lt;b&gt;OpenSSL&lt;/b&gt; PHP module was not found on your system. This will cause issues with modules that establish HTTPS connections to other servers</fr>
<id></id> <nl>The &lt;b&gt;OpenSSL&lt;/b&gt; PHP module was not found on your system. This will cause issues with modules that establish HTTPS connections to other servers</nl>
<org></org> <it>The &lt;b&gt;OpenSSL&lt;/b&gt; PHP module was not found on your system. This will cause issues with modules that establish HTTPS connections to other servers</it>
<file>install</file> <file>install</file>
</entry> </entry>
<entry> <entry>
<id></id> <id>29a2d7fdd3ed7396ad1a30993edf6597</id>
<org></org> <org>In deiner PHP Konfiguration ist &lt;b&gt;allow_url_fopen&lt;/b&gt; nicht aktiviert. Dadurch können einige Module (z.B. Discord, Partylist) keine externen Verbindungen aufbauen und werden daher nicht funktionieren</org>
<file>install</file> <en>In your PHP configuration the setting &lt;b&gt;allow_url_fopen&lt;/b&gt; is not enabled. This will cause issues with modules (such as Discord, Partylist) that attempt to connect to external sites</en>
</entry> <es>In your PHP configuration the setting &lt;b&gt;allow_url_fopen&lt;/b&gt; is not enabled. This will cause issues with modules (such as Discord, Partylist) that attempt to connect to external sites</es>
<entry> <fr>In your PHP configuration the setting &lt;b&gt;allow_url_fopen&lt;/b&gt; is not enabled. This will cause issues with modules (such as Discord, Partylist) that attempt to connect to external sites</fr>
<id></id> <nl>In your PHP configuration the setting &lt;b&gt;allow_url_fopen&lt;/b&gt; is not enabled. This will cause issues with modules (such as Discord, Partylist) that attempt to connect to external sites</nl>
<org></org> <it>In your PHP configuration the setting &lt;b&gt;allow_url_fopen&lt;/b&gt; is not enabled. This will cause issues with modules (such as Discord, Partylist) that attempt to connect to external sites</it>
<file>install</file> <file>install</file>
</entry> </entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
<entry>
<id></id>
<org></org>
<file>install</file>
</entry>
</content> </content>
</table> </table>
</lansuite> </lansuite>

0 comments on commit c505235

Please sign in to comment.