Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix/update-added-safety

  • Loading branch information...
Stoyvo committed Apr 22, 2015
1 parent 38b5011 commit 10be310e955ec8b91054b232331c453979703aac
Showing with 1 addition and 1 deletion.
  1. +1 −1 update.php
@@ -31,7 +31,7 @@
$osType = 'windows';
} else if (stripos($osInfo, 'linux') !== false) {
$osType = 'linux';
if (function_exists('posix_getuid')) {
if (function_exists('posix_geteuid') && function_exists('posix_getpwuid')) {
$phpUserInfo = posix_getpwuid(posix_geteuid());
$phpUser = $phpUserInfo['name'];
} else {

0 comments on commit 10be310

Please sign in to comment.
You can’t perform that action at this time.