Use zm_session_start
This commit is contained in:
parent
fec98ce1a2
commit
278be59c86
|
@ -58,7 +58,7 @@ if ( isset($_REQUEST['scale']) ) {
|
|||
$codec = 'auto';
|
||||
if ( isset($_REQUEST['codec']) ) {
|
||||
$codec = $_REQUEST['codec'];
|
||||
session_start();
|
||||
zm_session_start();
|
||||
$_SESSION['zmEventCodec'.$Event->MonitorId()] = $codec;
|
||||
session_write_close();
|
||||
} else if ( isset($_SESSION['zmEventCodec'.$Event->MonitorId()]) ) {
|
||||
|
|
Loading…
Reference in New Issue