fix creating a cookie
This commit is contained in:
parent
e4829d8781
commit
ff5a664db5
|
|
@ -75,6 +75,6 @@ Route::get('/mail', function () {
|
|||
return MailManager::instance()->renderTemplate($template, $data);
|
||||
});
|
||||
Route::get('set-ck', function() {
|
||||
setcookie('some_id', "7777");
|
||||
setcookie('some_id', \Crypt::encryptString('7777'));
|
||||
return 'ok';
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue