This commit is contained in:
parent
212185af7a
commit
20a91eb015
@ -97,8 +97,8 @@ class GameController extends Controller {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Response::make('records')->withCookie(Cookie::forever('trophee', $values));
|
return Response::make('all good!')->withCookie(Cookie::forever('trophee', $values));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -23,6 +23,7 @@ class HomeController extends Controller {
|
|||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$values = Cookie::get('trophee');
|
$values = Cookie::get('trophee');
|
||||||
|
print_r($values);
|
||||||
if ($values === false)
|
if ($values === false)
|
||||||
$values = [0, 0, 0];
|
$values = [0, 0, 0];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user