|
|
@ -24,7 +24,7 @@ class Stream { |
|
|
|
|
|
|
|
|
$db = DbMongo::get(); |
|
|
$db = DbMongo::get(); |
|
|
$coll = $db->stream; |
|
|
$coll = $db->stream; |
|
|
$coll->insert([ |
|
|
|
|
|
|
|
|
$values = [ |
|
|
'_id' => $this->_id, |
|
|
'_id' => $this->_id, |
|
|
'timestamp' => $this->timestamp, |
|
|
'timestamp' => $this->timestamp, |
|
|
'ip' => $this->ip, |
|
|
'ip' => $this->ip, |
|
|
@ -32,7 +32,8 @@ class Stream { |
|
|
'cstate' => $this->cstate, |
|
|
'cstate' => $this->cstate, |
|
|
'filename' => $this->filename, |
|
|
'filename' => $this->filename, |
|
|
'hide' => $this->hide |
|
|
'hide' => $this->hide |
|
|
]); |
|
|
|
|
|
|
|
|
]; |
|
|
|
|
|
$coll->insert($values); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|