Can't use function return value in write context
This commit is contained in:
parent
93c25a1f4a
commit
1341d03455
|
@ -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 New Issue