@@ -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); |