示例#1
0
文件: chat.php 项目: ortophius/webm
 private function send($values)
 {
     $db = new DbConnection();
     $id = $db->store("0", $this->normalize($values), $this->ip);
     if (!$id instanceof Error) {
         $this->response["success"] = true;
         $this->response["id"] = $id;
         $this->response["message"] = $this->normalize($values);
     } else {
         $this->response["success"] = false;
         $this->response["error"] = $id;
     }
 }