diff options
Diffstat (limited to 'public/index.php')
-rwxr-xr-x[-rw-r--r--] | public/index.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/public/index.php b/public/index.php index db4c4294..35c85955 100644..100755 --- a/public/index.php +++ b/public/index.php @@ -17,7 +17,6 @@ $free_pages = [ 'shift_entries', 'shifts', 'shifts_json_export', - 'shifts_json_export_all', 'stats', 'users', 'user_driver_licenses', @@ -67,10 +66,6 @@ if ( require_once realpath(__DIR__ . '/../includes/controller/shifts_controller.php'); shifts_json_export_controller(); break; - case 'shifts_json_export_all': - require_once realpath(__DIR__ . '/../includes/controller/shifts_controller.php'); - shifts_json_export_all_controller(); - break; case 'stats': require_once realpath(__DIR__ . '/../includes/pages/guest_stats.php'); guest_stats(); @@ -247,6 +242,6 @@ echo view(__DIR__ . '/../templates/layout.html', [ 'header_toolbar' => header_toolbar(), 'faq_url' => config('faq_url'), 'contact_email' => config('contact_email'), - 'locale' => locale(), + 'locale' => locale_short(), 'event_info' => EventConfig_info($event_config) . ' <br />' ]); |