| @@ -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.'; | 
| @@ -108,6 +108,9 @@ | ||
| 108 | 108 | return $ret; | 
| 109 | 109 | } | 
| 110 | 110 | |
| 111 | + /** | |
| 112 | + * @param string $level | |
| 113 | + */ | |
| 111 | 114 |  	public function log($level, $text, $line = '', $file = '') { | 
| 112 | 115 |  		if (function_exists('myadmin_log')) | 
| 113 | 116 |  			myadmin_log('cloudlinux', $level, $text, $line, $file); |