2015-05-14 16:37:12 +02:00
|
|
|
<?php
|
2017-01-20 21:12:19 +01:00
|
|
|
|
2017-01-21 23:07:20 +01:00
|
|
|
/**
|
|
|
|
* Include legacy code
|
|
|
|
*/
|
2017-08-29 22:39:35 +02:00
|
|
|
$includeFiles = [
|
|
|
|
__DIR__ . '/../includes/sys_auth.php',
|
|
|
|
__DIR__ . '/../includes/sys_form.php',
|
|
|
|
__DIR__ . '/../includes/sys_log.php',
|
|
|
|
__DIR__ . '/../includes/sys_menu.php',
|
|
|
|
__DIR__ . '/../includes/sys_page.php',
|
|
|
|
__DIR__ . '/../includes/sys_template.php',
|
|
|
|
|
|
|
|
__DIR__ . '/../includes/model/AngelType_model.php',
|
|
|
|
__DIR__ . '/../includes/model/NeededAngelTypes_model.php',
|
|
|
|
__DIR__ . '/../includes/model/Room_model.php',
|
|
|
|
__DIR__ . '/../includes/model/ShiftEntry_model.php',
|
|
|
|
__DIR__ . '/../includes/model/Shifts_model.php',
|
|
|
|
__DIR__ . '/../includes/model/ShiftsFilter.php',
|
|
|
|
__DIR__ . '/../includes/model/ShiftSignupState.php',
|
|
|
|
__DIR__ . '/../includes/model/ShiftTypes_model.php',
|
2017-12-12 21:57:57 +01:00
|
|
|
__DIR__ . '/../includes/model/Stats.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
__DIR__ . '/../includes/model/UserAngelTypes_model.php',
|
|
|
|
__DIR__ . '/../includes/model/UserDriverLicenses_model.php',
|
|
|
|
__DIR__ . '/../includes/model/UserGroups_model.php',
|
|
|
|
__DIR__ . '/../includes/model/User_model.php',
|
2017-12-29 17:19:27 +01:00
|
|
|
__DIR__ . '/../includes/model/UserWorkLog_model.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
__DIR__ . '/../includes/model/ValidationResult.php',
|
|
|
|
|
|
|
|
__DIR__ . '/../includes/view/AngelTypes_view.php',
|
|
|
|
__DIR__ . '/../includes/view/EventConfig_view.php',
|
2017-12-11 22:26:36 +01:00
|
|
|
__DIR__ . '/../includes/view/PublicDashboard_view.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
__DIR__ . '/../includes/view/Rooms_view.php',
|
|
|
|
__DIR__ . '/../includes/view/ShiftCalendarLane.php',
|
|
|
|
__DIR__ . '/../includes/view/ShiftCalendarRenderer.php',
|
|
|
|
__DIR__ . '/../includes/view/ShiftCalendarShiftRenderer.php',
|
|
|
|
__DIR__ . '/../includes/view/ShiftsFilterRenderer.php',
|
|
|
|
__DIR__ . '/../includes/view/Shifts_view.php',
|
|
|
|
__DIR__ . '/../includes/view/ShiftEntry_view.php',
|
|
|
|
__DIR__ . '/../includes/view/ShiftTypes_view.php',
|
|
|
|
__DIR__ . '/../includes/view/UserAngelTypes_view.php',
|
|
|
|
__DIR__ . '/../includes/view/UserDriverLicenses_view.php',
|
|
|
|
__DIR__ . '/../includes/view/UserHintsRenderer.php',
|
|
|
|
__DIR__ . '/../includes/view/User_view.php',
|
2017-12-29 17:19:27 +01:00
|
|
|
__DIR__ . '/../includes/view/UserWorkLog_view.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
|
|
|
|
__DIR__ . '/../includes/controller/angeltypes_controller.php',
|
|
|
|
__DIR__ . '/../includes/controller/event_config_controller.php',
|
2017-12-11 22:26:36 +01:00
|
|
|
__DIR__ . '/../includes/controller/public_dashboard_controller.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
__DIR__ . '/../includes/controller/rooms_controller.php',
|
|
|
|
__DIR__ . '/../includes/controller/shift_entries_controller.php',
|
|
|
|
__DIR__ . '/../includes/controller/shifts_controller.php',
|
|
|
|
__DIR__ . '/../includes/controller/shifttypes_controller.php',
|
|
|
|
__DIR__ . '/../includes/controller/users_controller.php',
|
|
|
|
__DIR__ . '/../includes/controller/user_angeltypes_controller.php',
|
|
|
|
__DIR__ . '/../includes/controller/user_driver_licenses_controller.php',
|
2017-12-29 17:19:27 +01:00
|
|
|
__DIR__ . '/../includes/controller/user_worklog_controller.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
|
|
|
|
__DIR__ . '/../includes/helper/graph_helper.php',
|
2021-07-24 20:25:13 +02:00
|
|
|
__DIR__ . '/../includes/helper/legacy_helper.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
__DIR__ . '/../includes/helper/message_helper.php',
|
|
|
|
__DIR__ . '/../includes/helper/email_helper.php',
|
2021-11-23 11:59:53 +01:00
|
|
|
__DIR__ . '/../includes/helper/oauth_helper.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
|
|
|
|
__DIR__ . '/../includes/mailer/shifts_mailer.php',
|
|
|
|
__DIR__ . '/../includes/mailer/users_mailer.php',
|
|
|
|
|
|
|
|
__DIR__ . '/../includes/pages/admin_active.php',
|
|
|
|
__DIR__ . '/../includes/pages/admin_arrive.php',
|
|
|
|
__DIR__ . '/../includes/pages/admin_free.php',
|
|
|
|
__DIR__ . '/../includes/pages/admin_groups.php',
|
|
|
|
__DIR__ . '/../includes/pages/admin_rooms.php',
|
|
|
|
__DIR__ . '/../includes/pages/admin_shifts.php',
|
|
|
|
__DIR__ . '/../includes/pages/admin_user.php',
|
|
|
|
__DIR__ . '/../includes/pages/guest_login.php',
|
|
|
|
__DIR__ . '/../includes/pages/user_messages.php',
|
|
|
|
__DIR__ . '/../includes/pages/user_myshifts.php',
|
|
|
|
__DIR__ . '/../includes/pages/user_settings.php',
|
|
|
|
__DIR__ . '/../includes/pages/user_shifts.php',
|
2019-11-27 23:43:21 +01:00
|
|
|
|
|
|
|
__DIR__ . '/../includes/pages/schedule/ImportSchedule.php',
|
2017-08-29 22:39:35 +02:00
|
|
|
];
|
2017-12-25 23:12:52 +01:00
|
|
|
|
2017-08-29 22:39:35 +02:00
|
|
|
foreach ($includeFiles as $file) {
|
|
|
|
require_once realpath($file);
|
|
|
|
}
|