Use net zm_setcookie
This commit is contained in:
parent
a57206ef54
commit
9395b7e47c
|
@ -21,7 +21,7 @@
|
|||
|
||||
if ( $action == 'bandwidth' && isset($_REQUEST['newBandwidth']) ) {
|
||||
$_COOKIE['zmBandwidth'] = validStr($_REQUEST['newBandwidth']);
|
||||
setcookie('zmBandwidth', validStr($_REQUEST['newBandwidth']), time()+3600*24*30*12*10);
|
||||
zm_setcookie('zmBandwidth', validStr($_REQUEST['newBandwidth']));
|
||||
$refreshParent = true;
|
||||
$view = 'none';
|
||||
$closePopup = true;
|
||||
|
|
Loading…
Reference in New Issue