Skip to content

Commit

Permalink
* include service urls in login
Browse files Browse the repository at this point in the history
  • Loading branch information
otakup0pe committed Nov 28, 2011
1 parent 3302633 commit b714d1d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Grid/login/index.php
Expand Up @@ -608,6 +608,16 @@ function create_opensim_presence($scene, $userID, $circuitCode, $fullName, $appe

log_message('warn','[LOGIN] create opensim session');

$serviceurls = array(
'GatekeeperURI' => $config['hypergrid_uri'],
'HomeURI' => $config['hypergrid_uri'],
'InventoryServerURI' => $config['inventory_service'],
'AssetServerURI' => $config['asset_service'],
'ProfileServerURI' => $config['user_service'],
'FriendsServerURI' => $config['hypergrid_uri'],
'IMServerURI' => $config['hypergrid_uri']
);

$params = array(
'agent_id' => $userID,
'caps_path' => $capsPath,
Expand All @@ -623,7 +633,9 @@ function create_opensim_presence($scene, $userID, $circuitCode, $fullName, $appe
'destination_name' => $scene->Name,
'destination_uuid' => $scene->SceneID,
'appearance_serial' => 1,
'teleport_flags' => 128);
'teleport_flags' => 128,
'serviceurls' => $serviceurls
);

if ($sendPackedAppearance)
{
Expand Down

0 comments on commit b714d1d

Please sign in to comment.