Follow state of a conversation can be updated

This commit is contained in:
Pierre
2017-06-18 10:07:52 +02:00
parent b1e340e0c1
commit 952779f527
7 changed files with 84 additions and 15 deletions

View File

@ -24,8 +24,11 @@ require PROJECT_PATH."3rdparty/RestServer/RestServer.php";
if(!isset($_GET["format"]))
$_GET['format'] = "json";
//Specify we are on Comunic API Server
header("Technology: Official Comunic API Server");
//Set debug clients tokens
if($cs->config->get("site_mode") == "debug"){ //DEBUG ONLY
if($cs->config->get("site_mode") === "debug"){ //DEBUG ONLY
$_POST['serviceName'] = "testService";
$_POST['serviceToken'] = "testPasswd";
}