From 35dbef55b5523f84db8674507c430804d3ca0572 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Apr 2015 10:58:13 +0200 Subject: 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 --- settings/admin.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'settings/admin.php') 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()); -- cgit v1.2.3