| 1 | <?php |
||
| 12 | class System { |
||
| 13 | private $smbclient; |
||
| 14 | |||
| 15 | private $net; |
||
| 16 | |||
| 17 | private $stdbuf; |
||
| 18 | |||
| 19 | private $date; |
||
| 20 | |||
| 21 | 1040 | public static function getFD($num) { |
|
| 33 | |||
| 34 | 1040 | 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 | 318 | } |
|
| 52 | 424 | return $this->date; |
|
| 53 | } |
||
| 54 | |||
| 55 | 1024 | public function hasStdBuf() { |
|
| 64 | } |
||
| 65 |