From 304af8e8f015ac896ad0683c6407a3269e981d97 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Tue, 11 Oct 2011 19:47:49 +0200 Subject: #27 ical export, beginn --- public/index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'public') 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(); -- cgit v1.2.3-70-g09d2