aboutsummaryrefslogtreecommitdiffstats
path: root/settings/admin.php
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/admin.php
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/admin.php')
-rw-r--r--settings/admin.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 94e48aab14e..f08c3cd53b6 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -123,6 +123,9 @@ $databaseOverload = (strpos(\OCP\Config::getSystemValue('dbtype'), 'sqlite') !==
$template->assign('databaseOverload', $databaseOverload);
$template->assign('cronErrors', $appConfig->getValue('core', 'cronErrors'));
+// warn if php is not setup properly to get system variables with getenv
+$template->assign('getenvServerNotWorking', empty(getenv('PATH')));
+
// warn if Windows is used
$template->assign('WindowsWarning', OC_Util::runningOnWindows());