Formatting issues

Formatting issues
This commit is contained in:
deutor
2016-08-31 11:01:33 +02:00
committed by GitHub
parent 74675a7b00
commit 5f68bb82cd

View File

@@ -49,7 +49,7 @@ if (strstr(`php -ln config.php`, 'No syntax errors detected')) {
// Check we are running this as the root user
if (function_exists('posix_getpwuid')) {
$userinfo = posix_getpwuid( posix_geteuid() );
$userinfo = posix_getpwuid(posix_geteuid());
$username = $userinfo['name'];
} else {
$username = getenv('USERNAME') ?: getenv('USER');//http://php.net/manual/en/function.get-current-user.php