2015-10-29 00:47:40 +01:00
|
|
|
<?php
|
2016-03-05 00:36:11 +01:00
|
|
|
include 'user/login.php';
|
|
|
|
include 'user/signup.php';
|
2016-04-29 02:20:42 +02:00
|
|
|
include 'user/logout.php';
|
2016-09-09 07:24:12 +02:00
|
|
|
include 'user/check-session.php';
|
2016-07-22 09:44:55 +02:00
|
|
|
include 'user/recover-password.php';
|
|
|
|
include 'user/send-recover-password.php';
|
2016-08-08 04:21:48 +02:00
|
|
|
include 'user/edit-password.php';
|
|
|
|
include 'user/edit-email.php';
|
2016-09-09 05:38:58 +02:00
|
|
|
include 'user/get.php';
|
2016-11-30 07:33:46 +01:00
|
|
|
include 'user/get-users.php';
|
2016-11-30 18:13:57 +01:00
|
|
|
include 'user/get-user';
|
2015-11-01 22:43:35 +01:00
|
|
|
|
2016-03-20 19:12:01 +01:00
|
|
|
$userControllers = new ControllerGroup();
|
|
|
|
$userControllers->setGroupPath('/user');
|
|
|
|
|
|
|
|
$userControllers->addController(new LoginController);
|
|
|
|
$userControllers->addController(new SignUpController);
|
2016-04-29 02:20:42 +02:00
|
|
|
$userControllers->addController(new LogoutController);
|
2016-09-09 07:24:12 +02:00
|
|
|
$userControllers->addController(new CheckSessionController);
|
2016-07-20 23:38:20 +02:00
|
|
|
$userControllers->addController(new SendRecoverPasswordController);
|
2016-07-20 06:38:34 +02:00
|
|
|
$userControllers->addController(new RecoverPasswordController);
|
2016-08-08 04:21:48 +02:00
|
|
|
$userControllers->addController(new EditPassword);
|
|
|
|
$userControllers->addController(new EditEmail);
|
2016-09-09 05:38:58 +02:00
|
|
|
$userControllers->addController(new GetUserController);
|
2016-11-30 07:33:46 +01:00
|
|
|
$userControllers->addController(new GetUsersController);
|
2016-11-30 18:13:57 +01:00
|
|
|
$userControllers->addController(new GetUserController);
|
2016-08-08 04:21:48 +02:00
|
|
|
|
2016-03-20 19:12:01 +01:00
|
|
|
$userControllers->finalize();
|