opensim-www
/lib/wasRemoteAdmin.php |
@@ -36,7 +36,7 @@ |
|
var $url; |
var $pwd; |
var $options; |
var $options; |
|
function wasRemoteAdmin($url,$pwd) { |
$this->url = $url; |
@@ -54,9 +54,9 @@ |
); |
} |
|
function admin_console_command($cmd) { |
function admin_console_command($console_command) { |
$request = new HTTP_Request2($this->url, HTTP_Request2::METHOD_POST); |
$serializer = new XML_Serializer($options); |
$serializer = new XML_Serializer($this->options); |
$xml = array( |
"methodName" => htmlspecialchars('admin_console_command'), |
"params" => |
@@ -74,7 +74,7 @@ |
array( |
"name" => 'command', |
"value" => array( |
"string" => htmlspecialchars($cmd) |
"string" => htmlspecialchars($console_command) |
) |
) |
), |
@@ -92,7 +92,7 @@ |
function admin_authenticate_user($firstname, $lastname, $password, $tokentime) { |
$request = new HTTP_Request2($this->url, HTTP_Request2::METHOD_POST); |
|
$serializer = new XML_Serializer($options); |
$serializer = new XML_Serializer($this->options); |
$xml = array( |
"methodName" => htmlspecialchars('admin_authenticate_user'), |
"params" => |