Merging latest master
This commit is contained in:
commit
28d09275fd
83 changed files with 1283 additions and 69 deletions
|
|
@ -36,6 +36,9 @@ class UserController extends Controller
|
|||
*/
|
||||
protected $userService;
|
||||
|
||||
/**
|
||||
* Initialise the controller, set up stores and services.
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->userStore = b8\Store\Factory::getStore('User');
|
||||
|
|
@ -55,6 +58,10 @@ class UserController extends Controller
|
|||
return $this->view->render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows the user to edit their profile.
|
||||
* @return string
|
||||
*/
|
||||
public function profile()
|
||||
{
|
||||
$user = $_SESSION['phpci_user'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue