mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-18 23:46:39 +00:00
changes to dirList class, and finnish translation
git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@40 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
@@ -260,11 +260,16 @@ class dirList {
|
||||
}
|
||||
|
||||
function getGroup ($item) {
|
||||
if ( function_exists('posix_getgrgid') ) {
|
||||
$id = filegroup($item);
|
||||
$name = posix_getgrgid($id);
|
||||
return array('groupid'=>$id, 'group'=>$name['name']);
|
||||
} else { return false; }
|
||||
// --------------------------------------------------
|
||||
// -- Commented out till the posix_getgrdid() bug in PHP 5.2.1 which causes
|
||||
// -- an out of memory error is fixed.
|
||||
// --------------------------------------------------
|
||||
// if ( function_exists('posix_getgrgid') ) {
|
||||
// $id = filegroup($item);
|
||||
// $name = posix_getgrgid($id);
|
||||
// return array('groupid'=>$id, 'group'=>$name['name']);
|
||||
// } else { return false; }
|
||||
return false;
|
||||
}
|
||||
|
||||
function format_filesize($bytes) {
|
||||
|
||||
Reference in New Issue
Block a user