]> git.datanom.net - qtadmin.git/blobdiff - rest_client.php
prepare for wblistadm server
[qtadmin.git] / rest_client.php
index 75188f4d17c2c131c0d700c0b9b3b866c86c4636..f01be68fc0ceac7b85b3fc2d1b6f2528c6f1c0ef 100644 (file)
@@ -27,8 +27,8 @@ $util = new Utils;
 
 $ticket = $cookies = null;
 $data = 'username=mir@miras.org&password=Clara0503';
 
 $ticket = $cookies = null;
 $data = 'username=mir@miras.org&password=Clara0503';
-$response = $util->RESTCall($CFG->wblistadm_url.'/ticket', $data, $cookiesIn = '')
-if ($response['http_code'] >= 200 and $response['http_code'] <= 204) {
+$response = $util->RESTCall($CFG->wblistadm_url.'/ticket', $data, $cookiesIn = '');
+if ($response['http_code'] >= 200 && $response['http_code'] <= 204) {
     $ticket = json_decode($response['content']);
     $cookies = $response['cookies'];
 }
     $ticket = json_decode($response['content']);
     $cookies = $response['cookies'];
 }
This page took 0.037639 seconds and 5 git commands to generate.