summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-10-11 19:47:49 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-10-11 19:47:49 +0200
commit304af8e8f015ac896ad0683c6407a3269e981d97 (patch)
tree32454b2c7eaa432c6cfabf3809e60d2f2d2d0d0b /public
parent1854e1455abcb23d3dc2c1ad206525227d08587d (diff)
#27 ical export, beginn
Diffstat (limited to 'public')
-rw-r--r--public/index.php6
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();