Fix #2655
This commit is contained in:
parent
df8c46f0f0
commit
d244aadee6
|
@ -580,6 +580,9 @@ class Event {
|
|||
if ( file_exists( $this->Path().'/'.$this->DefaultVideo() ) ) {
|
||||
return true;
|
||||
}
|
||||
if ( !defined('ZM_SERVER_ID') ) {
|
||||
return false;
|
||||
}
|
||||
$Storage= $this->Storage();
|
||||
$Server = $Storage->ServerId() ? $Storage->Server() : $this->Monitor()->Server();
|
||||
if ( $Server->Id() != ZM_SERVER_ID ) {
|
||||
|
@ -624,6 +627,9 @@ class Event {
|
|||
if ( file_exists($this->Path().'/'.$this->DefaultVideo()) ) {
|
||||
return filesize($this->Path().'/'.$this->DefaultVideo());
|
||||
}
|
||||
if ( !defined('ZM_SERVER_ID') ) {
|
||||
return false;
|
||||
}
|
||||
$Storage= $this->Storage();
|
||||
$Server = $Storage->ServerId() ? $Storage->Server() : $this->Monitor()->Server();
|
||||
if ( $Server->Id() != ZM_SERVER_ID ) {
|
||||
|
|
Loading…
Reference in New Issue