2016-07-26 23:30:51 +02:00
|
|
|
<?php
|
|
|
|
require_once 'system/init-settings.php';
|
2016-08-20 23:06:41 +02:00
|
|
|
require_once 'system/get-settings.php';
|
2016-12-13 06:03:35 +01:00
|
|
|
require_once 'system/edit-settings.php';
|
2016-12-12 06:12:17 +01:00
|
|
|
require_once 'system/add-department.php';
|
|
|
|
require_once 'system/edit-department.php';
|
|
|
|
require_once 'system/delete-department.php';
|
2016-12-29 06:04:35 +01:00
|
|
|
require_once 'system/get-logs.php';
|
2017-01-03 23:36:26 +01:00
|
|
|
require_once 'system/get-mail-templates.php';
|
2017-01-04 00:35:46 +01:00
|
|
|
require_once 'system/edit-mail-template.php';
|
|
|
|
require_once 'system/recover-mail-template.php';
|
2017-01-10 19:22:36 +01:00
|
|
|
require_once 'system/disable-registration.php';
|
|
|
|
require_once 'system/enable-registration.php';
|
2017-01-16 20:07:53 +01:00
|
|
|
require_once 'system/disable-user-system.php';
|
|
|
|
require_once 'system/enabled-user-system.php';
|
2017-01-13 19:50:35 +01:00
|
|
|
require_once 'system/add-api-key.php';
|
|
|
|
require_once 'system/delete-api-key.php';
|
2017-02-24 07:56:25 +01:00
|
|
|
require_once 'system/get-api-keys.php';
|
2017-01-16 21:11:45 +01:00
|
|
|
require_once 'system/get-stats.php';
|
2017-01-12 21:06:41 +01:00
|
|
|
require_once 'system/delete-all-users.php';
|
2017-01-14 22:19:21 +01:00
|
|
|
require_once 'system/csv-import.php';
|
2017-01-12 20:45:01 +01:00
|
|
|
require_once 'system/backup-database.php';
|
|
|
|
require_once 'system/download.php';
|
2016-07-26 23:30:51 +02:00
|
|
|
|
|
|
|
$systemControllerGroup = new ControllerGroup();
|
|
|
|
$systemControllerGroup->setGroupPath('/system');
|
|
|
|
|
|
|
|
$systemControllerGroup->addController(new InitSettingsController);
|
2016-08-20 23:06:41 +02:00
|
|
|
$systemControllerGroup->addController(new GetSettingsController);
|
2016-12-13 06:03:35 +01:00
|
|
|
$systemControllerGroup->addController(new EditSettingsController);
|
2016-12-12 06:12:17 +01:00
|
|
|
$systemControllerGroup->addController(new AddDepartmentController);
|
|
|
|
$systemControllerGroup->addController(new EditDepartmentController);
|
|
|
|
$systemControllerGroup->addController(new DeleteDepartmentController);
|
2016-12-29 06:04:35 +01:00
|
|
|
$systemControllerGroup->addController(new GetLogsController);
|
2017-01-03 23:36:26 +01:00
|
|
|
$systemControllerGroup->addController(new GetMailTemplatesController);
|
2017-01-04 00:35:46 +01:00
|
|
|
$systemControllerGroup->addController(new EditMailTemplateController);
|
|
|
|
$systemControllerGroup->addController(new RecoverMailTemplateController);
|
2017-01-10 19:22:36 +01:00
|
|
|
$systemControllerGroup->addController(new DisableRegistrationController);
|
|
|
|
$systemControllerGroup->addController(new EnableRegistrationController);
|
2017-01-11 08:25:26 +01:00
|
|
|
$systemControllerGroup->addController(new GetStatsController);
|
2017-01-13 19:50:35 +01:00
|
|
|
$systemControllerGroup->addController(new AddAPIKeyController);
|
|
|
|
$systemControllerGroup->addController(new DeleteAPIKeyController);
|
2017-02-24 07:56:25 +01:00
|
|
|
$systemControllerGroup->addController(new GetAPIKeysController);
|
2017-01-12 21:06:41 +01:00
|
|
|
$systemControllerGroup->addController(new DeleteAllUsersController);
|
2017-01-12 20:45:01 +01:00
|
|
|
$systemControllerGroup->addController(new BackupDatabaseController);
|
|
|
|
$systemControllerGroup->addController(new DownloadController);
|
2017-01-14 22:19:21 +01:00
|
|
|
$systemControllerGroup->addController(new CSVImportController);
|
2017-01-16 20:07:53 +01:00
|
|
|
$systemControllerGroup->addController(new DisableUserSystemController);
|
|
|
|
$systemControllerGroup->addController(new EnabledUserSystemController);
|
2016-07-26 23:30:51 +02:00
|
|
|
|
|
|
|
$systemControllerGroup->finalize();
|