diff options
Diffstat (limited to 'public/index.php')
-rw-r--r-- | public/index.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php index 2a5a273b..1a58852b 100644 --- a/public/index.php +++ b/public/index.php @@ -34,8 +34,12 @@ if (isset ($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && s $title = Get_Text($p); $content = ""; +if ($p == "ical") { + require_once ('includes/pages/user_ical.php'); + user_ical(); +} // Recht dafür vorhanden? -if (in_array($p, $privileges)) { +elseif (in_array($p, $privileges)) { if ($p == "news") { require_once ('includes/pages/user_news.php'); $content = user_news(); |