Use zm_session_start instead of session_start

This commit is contained in:
Isaac Connor 2020-03-27 13:05:12 -04:00
parent 1ab294e291
commit 50700031b1
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if ( isset($_REQUEST['object']) ) {
} }
$Layout->Positions($_REQUEST['Positions']); $Layout->Positions($_REQUEST['Positions']);
$Layout->save(); $Layout->save();
session_start(); zm_session_start();
$_SESSION['zmMontageLayout'] = $Layout->Id(); $_SESSION['zmMontageLayout'] = $Layout->Id();
setcookie('zmMontageLayout', $Layout->Id(), 1); setcookie('zmMontageLayout', $Layout->Id(), 1);
session_write_close(); session_write_close();