Skip to content

Commit

Permalink
Dev Small fix for test script
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jul 22, 2013
1 parent 966da32 commit 294a038
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/controllers/admin/remotecontrol.php
Expand Up @@ -99,6 +99,8 @@ public function test()
Yii::app()->loadLibrary('jsonRPCClient');
$client = new jsonRPCClient($serverUrl);
}
else die('RPC interface not activated in global settings');


$sSessionKey= $client->call('get_session_key', array('admin','password'));
if (is_array($sSessionKey)) {echo $sSessionKey['status']; die();}
Expand Down Expand Up @@ -160,4 +162,4 @@ public function test()
}


}
}

0 comments on commit 294a038

Please sign in to comment.