Commit f4d57967ec8a7c91eedbe901a0572c69a0d5d454
1 parent
0798d579
cookie
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
... | ... | @@ -1265,7 +1265,7 @@ class MenuController extends \controllers\ControllerBase |
1265 | 1265 | if( empty($check) && $this->models->getSubscribe()->addData($data) ) { |
1266 | 1266 | $this->sendmail->addCustomer( 10, $data ); |
1267 | 1267 | |
1268 | - setcookie("popup", '1', time()+14400); | |
1268 | + setcookie("popup", '1', time()+14400, '/'); | |
1269 | 1269 | |
1270 | 1270 | return $this->response->redirect([ 'for' => 'homepage', 'language' => $this->lang_name ]); |
1271 | 1271 | } | ... | ... |