Update zmdc.pl.in
This commit is contained in:
parent
0238656542
commit
0d85d3e60d
|
@ -69,7 +69,12 @@ use IO::Handle;
|
|||
use autouse 'Pod::Usage'=>qw(pod2usage);
|
||||
#use Data::Dumper;
|
||||
|
||||
use constant SOCK_FILE => $Config{ZM_PATH_SOCKS}.'/zmdc'.$Config{ZM_SERVER_ID}.'.sock';
|
||||
if ( ! defined('ZM_SERVER_ID') ) {
|
||||
use constant SOCK_FILE => $Config{ZM_PATH_SOCKS}.'/zmdc.sock';
|
||||
}
|
||||
else {
|
||||
use constant SOCK_FILE => $Config{ZM_PATH_SOCKS}.'/zmdc'.$Config{ZM_SERVER_ID}.'.sock';
|
||||
}
|
||||
|
||||
$| = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue