summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/index.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/public/index.php b/public/index.php
index 0d7eb782..31668687 100644
--- a/public/index.php
+++ b/public/index.php
@@ -2,19 +2,20 @@
require_once realpath(__DIR__ . '/../includes/engelsystem_provider.php');
$free_pages = array(
- 'stats',
- 'shifts_json_export_all',
- 'user_password_recovery',
+ 'admin_event_config',
+ 'angeltypes',
'api',
+ 'atom',
'credits',
- 'angeltypes',
- 'users',
- 'user_driver_licenses',
'ical',
- 'shifts_json_export',
+ 'login',
'shifts',
- 'atom',
- 'login'
+ 'shifts_json_export',
+ 'shifts_json_export_all',
+ 'stats',
+ 'users',
+ 'user_driver_licenses',
+ 'user_password_recovery'
);
// Gewünschte Seite/Funktion
@@ -63,6 +64,8 @@ if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (i
list($title, $content) = user_driver_licenses_controller();
} elseif ($p == "shifttypes") {
list($title, $content) = shifttypes_controller();
+ } elseif ($p == "admin_event_config") {
+ list($title, $content) = event_config_edit_controller();
} elseif ($p == "news") {
$title = news_title();
$content = user_news();
@@ -133,9 +136,6 @@ if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (i
} elseif ($p == "admin_log") {
$title = admin_log_title();
$content = admin_log();
- } elseif ($p == "admin_settings") {
- $title = admin_settings_title();
- $content = admin_settings();
} elseif ($p == "credits") {
require_once realpath(__DIR__ . '/../includes/pages/guest_credits.php');
$title = credits_title();