diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-11 21:13:40 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-11 21:13:40 -0400 |
commit | ae5983a86eae4b8eed0e75b52fa35f948b111b97 (patch) | |
tree | e7f071d83f02e534e4eaae1a1328095ddbb10d25 /pts-core/functions/pts-functions_system.php | |
parent | 6d6c9e1da89ce56b0691a0e71e1d27d5e2f6bc8f (diff) | |
download | phoronix-test-suite-upstream-ae5983a86eae4b8eed0e75b52fa35f948b111b97.tar.gz phoronix-test-suite-upstream-ae5983a86eae4b8eed0e75b52fa35f948b111b97.tar.xz phoronix-test-suite-upstream-ae5983a86eae4b8eed0e75b52fa35f948b111b97.zip |
pts-core: Drop PTS_USER_DIR usage
Diffstat (limited to 'pts-core/functions/pts-functions_system.php')
-rw-r--r-- | pts-core/functions/pts-functions_system.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pts-core/functions/pts-functions_system.php b/pts-core/functions/pts-functions_system.php index 4924847..8e4d777 100644 --- a/pts-core/functions/pts-functions_system.php +++ b/pts-core/functions/pts-functions_system.php @@ -98,21 +98,6 @@ function pts_user_name() return $username; } -function pts_user_home() -{ - // Gets the system user's home directory - if(function_exists("posix_getpwuid") && function_exists("posix_getuid")) - { - $userinfo = posix_getpwuid(posix_getuid()); - $userhome = $userinfo["dir"]; - } - else - { - $userhome = getenv("HOME"); - } - - return $userhome . '/'; -} function pts_disk_total() { // Returns amoung of disk space |