create my custom cookie

This commit is contained in:
saparatayev 2022-02-22 16:28:27 +05:00
parent ededfaaa43
commit 894c977e0c
1 changed files with 4 additions and 0 deletions

View File

@ -74,3 +74,7 @@ Route::get('/mail', function () {
return MailManager::instance()->renderTemplate($template, $data);
});
Route::get('set-ck', function() {
setcookie('some_id', "7777");
return 'ok';
});