Merge pull request #15887 from owncloud/issue-15885-empty-getenv-path
Can't use function return value in write context
This commit is contained in:
commit
3b54161164
1 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue