This commit is contained in:
parent
88d1936264
commit
6f0f8041c0
@ -31,6 +31,7 @@ class User extends Model {
|
|||||||
$_SESSION['userid'] = $this->id;
|
$_SESSION['userid'] = $this->id;
|
||||||
|
|
||||||
var_dump($_SESSION['user']);
|
var_dump($_SESSION['user']);
|
||||||
|
exit();
|
||||||
|
|
||||||
$_SESSION['user']->save();
|
$_SESSION['user']->save();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user