| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class AAPanelSystem extends AAPanelConnect |
||
| 12 | { |
||
| 13 | public function __construct() |
||
| 14 | { |
||
| 15 | parent::__construct(); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function Info() |
||
| 19 | { |
||
| 20 | $url = $this->serverUrl . '/system?action=GetSystemTotal'; |
||
| 21 | |||
| 22 | return (parent::Execute($url, $this->data)); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function Disk() |
||
| 26 | { |
||
| 27 | $url = $this->serverUrl . '/system?action=GetDiskInfo'; |
||
| 28 | |||
| 29 | return (parent::Execute($url, $this->data)); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function Network() |
||
| 37 | } |
||
| 38 | |||
| 39 | public function Size(string $path = '/www/wwwroot/'): mixed |
||
| 40 | { |
||
| 48 |