opensim-www
/account.php |
---|
@@ -30,9 +30,9 @@ |
echo '<p>Sorry, incorrect captcha. Please try again.</p>'; |
} |
else { |
$req = new KOS('http://127.0.0.1:10000', 'opensim'); |
$req = new wasRemoteAdmin('http://127.0.0.1:10000', 'opensim'); |
$uuid = UUID::v4(); |
$req->send('create user '.$first.' '.$last.' '.$password.' '.$email.' '.$uuid); |
$req->admin_console_command('create user '.$first.' '.$last.' '.$password.' '.$email.' '.$uuid); |
echo '<p>Account created successfully.</p>'; |
} |
?> |