{$Think.session.userinfo.id} and {$Think.session.userinfo.is_update}, these two data are not in my session, nor are they in my printout. May I ask why? I currently hard-code the ID and is_update directly into the session in the Login controller.
Do you still have the frontend template for this tutorial? When I downloaded the Crazy Website, it was removed due to copyright issues.
There is an error in the teacher's login.php when saving the session. It should be Session::set('user_info',$admin->toArray());
Did you write the id and is_update into the session while logging in?
Do you still have the frontend template for this tutorial? When I downloaded the Crazy Website, it was removed due to copyright issues.
There is an error in the teacher's login.php when saving the session. It should be Session::set('user_info',$admin->toArray());
Did you write the id and is_update into the session while logging in?