Use net zm_setcookie
This commit is contained in:
parent
3cd6fbdc12
commit
4bf55b1af1
|
@ -38,7 +38,7 @@ if ( isset($_REQUEST['object']) ) {
|
|||
$Layout->save();
|
||||
zm_session_start();
|
||||
$_SESSION['zmMontageLayout'] = $Layout->Id();
|
||||
setcookie('zmMontageLayout', $Layout->Id(), 1);
|
||||
zm_setcookie('zmMontageLayout', $Layout->Id());
|
||||
session_write_close();
|
||||
$redirect = '?view=montage';
|
||||
} // end if save
|
||||
|
|
Loading…
Reference in New Issue