mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-07-28 13:56:53 -04:00
implement UrlToZMS in Monitor
This commit is contained in:
@@ -499,6 +499,10 @@ class Monitor extends ZM_Object {
|
||||
return $this->Server()->UrlToIndex($port);
|
||||
}
|
||||
|
||||
public function UrlToZMS($port=null) {
|
||||
return $this->Server()->UrlToZMS($port).'?mid='.$this->Id();
|
||||
}
|
||||
|
||||
public function sendControlCommand($command) {
|
||||
// command is generally a command option list like --command=blah but might be just the word quit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user