Skip to content
Snippets Groups Projects
Commit 3b541611 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #15887 from owncloud/issue-15885-empty-getenv-path

Can't use function return value in write context
parents 7d0eba7a 1341d034
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,8 @@ $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')));
$path = getenv('PATH');
$template->assign('getenvServerNotWorking', empty($path));
// warn if Windows is used
$template->assign('WindowsWarning', OC_Util::runningOnWindows());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment