1 | <?php |
||
12 | class System { |
||
13 | private $smbclient; |
||
14 | |||
15 | private $net; |
||
16 | |||
17 | private $stdbuf; |
||
18 | |||
19 | private $date; |
||
20 | |||
21 | 1036 | public static function getFD($num) { |
|
33 | |||
34 | 1036 | public function getSmbclientPath() { |
|
40 | |||
41 | 424 | public function getNetPath() { |
|
47 | |||
48 | 424 | public function getDatePath() { |
|
49 | 424 | if (!$this->date) { |
|
50 | 424 | $this->date = trim(`which date`); |
|
51 | 106 | } |
|
52 | 424 | return $this->date; |
|
53 | } |
||
54 | |||
55 | 1020 | public function hasStdBuf() { |
|
64 | } |
||
65 |