| @@ 737-743 (lines=7) @@ | ||
| 734 | $perm[$i] = array(false, false, false); |
|
| 735 | $n = isset($stat['chmod'][$i]) ? $stat['chmod'][$i] : 0; |
|
| 736 | ||
| 737 | if ($n - 4 >= 0) { |
|
| 738 | $perm[$i][0] = true; |
|
| 739 | $n = $n - 4; |
|
| 740 | $stat['perm'] .= 'r'; |
|
| 741 | } else { |
|
| 742 | $stat['perm'] .= '-'; |
|
| 743 | } |
|
| 744 | ||
| 745 | if ($n - 2 >= 0) { |
|
| 746 | $perm[$i][1] = true; |
|
| @@ 745-751 (lines=7) @@ | ||
| 742 | $stat['perm'] .= '-'; |
|
| 743 | } |
|
| 744 | ||
| 745 | if ($n - 2 >= 0) { |
|
| 746 | $perm[$i][1] = true; |
|
| 747 | $n = $n - 2; |
|
| 748 | $stat['perm'] .= 'w'; |
|
| 749 | } else { |
|
| 750 | $stat['perm'] .= '-'; |
|
| 751 | } |
|
| 752 | ||
| 753 | if ($n - 1 == 0) { |
|
| 754 | $perm[$i][2] = true; |
|
| @@ 753-758 (lines=6) @@ | ||
| 750 | $stat['perm'] .= '-'; |
|
| 751 | } |
|
| 752 | ||
| 753 | if ($n - 1 == 0) { |
|
| 754 | $perm[$i][2] = true; |
|
| 755 | $stat['perm'] .= 'x'; |
|
| 756 | } else { |
|
| 757 | $stat['perm'] .= '-'; |
|
| 758 | } |
|
| 759 | ||
| 760 | $stat['perm'] .= ' '; |
|
| 761 | } |
|