summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
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 976d0a5c3f1..bc9224f3998 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -118,6 +118,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());