Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <martin.mattel@diemattels.at>2015-04-23 11:58:13 +0300
committerroot <martin.mattel@diemattels.at>2015-04-23 11:58:13 +0300
commit35dbef55b5523f84db8674507c430804d3ca0572 (patch)
tree98c5ed707a42b17136b89e6f49e639c90914253e /settings/admin.php
parent4f0437fbdef8e729167c1a8078e790c7983f69ef (diff)
Checks if getenv returns proper system variable results
Updated texts and changed the variable name to match the query Updated text + info which path for php config is used removed the term ownCloud and squashed the commits Updated text
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());