aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
blob: 51a222c49a83de7f1d195287f019a9baf23a0467 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

if (!isset($ALL_CALENDARS_COMBINED))  $ALL_CALENDARS_COMBINED = 'all_calendars_combined971';
include "./config.inc.php";
if (isset($_COOKIE['phpicalendar'])) {
	$phpicalendar 		= unserialize(stripslashes($_COOKIE['phpicalendar']));
	$default_view 		= $phpicalendar['cookie_view'];
}
if ($printview_default == 'yes') {
	$printview = $default_view;
	$default_view = "print.php";
} else {
	$check = array ('day', 'week', 'month');
	if (in_array($default_view, $check)) {
		$default_view = $default_view . '.php';
	} else {
		die;
	}
}
/*header("Location: $default_view");*/

include( $default_view );

?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy