This commit is contained in:
parent
604b0fbb74
commit
38f65d6ede
@ -62,6 +62,7 @@ class Profile extends Page {
|
|||||||
if($newphoto)
|
if($newphoto)
|
||||||
$_SESSION['user']->data['photo'] = $newphoto;
|
$_SESSION['user']->data['photo'] = $newphoto;
|
||||||
|
|
||||||
|
var_dump($_SESSION['user']->data);
|
||||||
$_SESSION['user']->save();
|
$_SESSION['user']->save();
|
||||||
$this->redirect('/profile');
|
$this->redirect('/profile');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user