@@ -28,8 +28,7 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * @access public |
| 30 | 30 | */ |
| 31 | -class Cloudlinux |
|
| 32 | -{ |
|
| 31 | +class Cloudlinux { |
|
| 33 | 32 | private $login = ''; |
| 34 | 33 | private $key = ''; |
| 35 | 34 | public $prefix = 'registration.'; |
@@ -85,8 +85,6 @@ discard block |
||
| 85 | 85 | * gets a webpage via curl and returns the response. |
| 86 | 86 | * also it sets a mozilla type agent. |
| 87 | 87 | * @param string $url the url of the page you want |
| 88 | - * @param string $postfields postfields in the format of "v1=10&v2=20&v3=30" |
|
| 89 | - * @param string|array $options |
|
| 90 | 88 | * @return string the webpage |
| 91 | 89 | */ |
| 92 | 90 | public function getcurlpage($url) { |
@@ -103,6 +101,9 @@ discard block |
||
| 103 | 101 | return $return; |
| 104 | 102 | } |
| 105 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $level |
|
| 106 | + */ |
|
| 106 | 107 | public function log($level, $text, $line = '', $file = '') { |
| 107 | 108 | if (function_exists('myadmin_log')) |
| 108 | 109 | myadmin_log('cloudlinux', $level, $text, $line, $file); |