summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-23 14:42:58 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-23 14:42:58 +0200
commit6d3f120d239cd1797cd50de1e2978f64b46f9211 (patch)
treeb111e059b24bffa7f99df877bb08049aeaec06a8 /settings/templates
parent8997d2f0d1e52e051eeafdcf146f1a4fa672b662 (diff)
parent35dbef55b5523f84db8674507c430804d3ca0572 (diff)
downloadnextcloud-server-6d3f120d239cd1797cd50de1e2978f64b46f9211.tar.gz
nextcloud-server-6d3f120d239cd1797cd50de1e2978f64b46f9211.zip
Merge pull request #15617 from mmattel/getenv_system_check_and_warning
Checks if getenv returns proper system environment variable results
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 4f60f7c16d9..587a3b6c66b 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -67,6 +67,16 @@ if ($_['mail_smtpmode'] == 'qmail') {
<h2><?php p($l->t('Security & setup warnings'));?></h2>
<ul>
<?php
+// is php setup properly to query system environment variables like getenv('PATH')
+if ($_['getenvServerNotWorking']) {
+?>
+ <li>
+ <?php p($l->t('php does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.')); ?><br>
+ <?php p($l->t('Please check the installation documentation for php configuration notes and the php configuration of your server, especially when using php-fpm.')); ?>
+ </li>
+<?php
+}
+
// is read only config enabled
if ($_['readOnlyConfigEnabled']) {
?>