62 lines
3.0 KiB
PHP
Executable File
62 lines
3.0 KiB
PHP
Executable File
<?php
|
|
require_once 'system/check-requirements.php';
|
|
require_once 'system/init-database.php';
|
|
require_once 'system/init-settings.php';
|
|
require_once 'system/init-admin.php';
|
|
require_once 'system/installation-done.php';
|
|
require_once 'system/get-settings.php';
|
|
require_once 'system/edit-settings.php';
|
|
require_once 'system/add-department.php';
|
|
require_once 'system/edit-department.php';
|
|
require_once 'system/delete-department.php';
|
|
require_once 'system/get-logs.php';
|
|
require_once 'system/get-mail-templates.php';
|
|
require_once 'system/edit-mail-template.php';
|
|
require_once 'system/recover-mail-template.php';
|
|
require_once 'system/disable-registration.php';
|
|
require_once 'system/enable-registration.php';
|
|
require_once 'system/disable-user-system.php';
|
|
require_once 'system/enable-user-system.php';
|
|
require_once 'system/add-api-key.php';
|
|
require_once 'system/delete-api-key.php';
|
|
require_once 'system/get-api-keys.php';
|
|
require_once 'system/get-stats.php';
|
|
require_once 'system/delete-all-users.php';
|
|
require_once 'system/csv-import.php';
|
|
require_once 'system/backup-database.php';
|
|
require_once 'system/download.php';
|
|
require_once 'system/test-smtp.php';
|
|
|
|
$systemControllerGroup = new ControllerGroup();
|
|
$systemControllerGroup->setGroupPath('/system');
|
|
|
|
$systemControllerGroup->addController(new CheckRequirementsController);
|
|
$systemControllerGroup->addController(new InitDatabaseController);
|
|
$systemControllerGroup->addController(new InitSettingsController);
|
|
$systemControllerGroup->addController(new InitAdminController);
|
|
$systemControllerGroup->addController(new InstallationDoneController);
|
|
$systemControllerGroup->addController(new GetSettingsController);
|
|
$systemControllerGroup->addController(new EditSettingsController);
|
|
$systemControllerGroup->addController(new AddDepartmentController);
|
|
$systemControllerGroup->addController(new EditDepartmentController);
|
|
$systemControllerGroup->addController(new DeleteDepartmentController);
|
|
$systemControllerGroup->addController(new GetLogsController);
|
|
$systemControllerGroup->addController(new GetMailTemplatesController);
|
|
$systemControllerGroup->addController(new EditMailTemplateController);
|
|
$systemControllerGroup->addController(new RecoverMailTemplateController);
|
|
$systemControllerGroup->addController(new DisableRegistrationController);
|
|
$systemControllerGroup->addController(new EnableRegistrationController);
|
|
$systemControllerGroup->addController(new GetStatsController);
|
|
$systemControllerGroup->addController(new AddAPIKeyController);
|
|
$systemControllerGroup->addController(new DeleteAPIKeyController);
|
|
$systemControllerGroup->addController(new GetAPIKeysController);
|
|
$systemControllerGroup->addController(new DeleteAllUsersController);
|
|
$systemControllerGroup->addController(new BackupDatabaseController);
|
|
$systemControllerGroup->addController(new DownloadController);
|
|
$systemControllerGroup->addController(new CSVImportController);
|
|
$systemControllerGroup->addController(new DisableUserSystemController);
|
|
$systemControllerGroup->addController(new EnableUserSystemController);
|
|
$systemControllerGroup->addController(new TestSMTPController);
|
|
|
|
$systemControllerGroup->finalize();
|