|
@@ 102-105 (lines=4) @@
|
| 99 |
|
parent::__construct(); |
| 100 |
|
$this->set_system_methods(); |
| 101 |
|
|
| 102 |
|
if (isset($config['functions']) && is_array($config['functions'])) |
| 103 |
|
{ |
| 104 |
|
$this->methods = array_merge($this->methods, $config['functions']); |
| 105 |
|
} |
| 106 |
|
|
| 107 |
|
log_message('info', 'XML-RPC Server Class Initialized'); |
| 108 |
|
} |
|
@@ 120-123 (lines=4) @@
|
| 117 |
|
*/ |
| 118 |
|
public function initialize($config = array()) |
| 119 |
|
{ |
| 120 |
|
if (isset($config['functions']) && is_array($config['functions'])) |
| 121 |
|
{ |
| 122 |
|
$this->methods = array_merge($this->methods, $config['functions']); |
| 123 |
|
} |
| 124 |
|
|
| 125 |
|
if (isset($config['debug'])) |
| 126 |
|
{ |