diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-23 20:13:55 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-23 20:13:55 +0200 |
commit | 10eea3f4643ff0275d964ed7233d7a0c15afdf0a (patch) | |
tree | c4907e5ed67feebfc0e173b2c75084caa5a8b8cb /apps | |
parent | 19109afa79551e6dccbfc86ca27939b9df0fb7de (diff) | |
download | nextcloud-server-10eea3f4643ff0275d964ed7233d7a0c15afdf0a.tar.gz nextcloud-server-10eea3f4643ff0275d964ed7233d7a0c15afdf0a.zip |
fix pathes of shared calendars
Diffstat (limited to 'apps')
-rw-r--r-- | apps/calendar/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php index 66f51c97226..417d2b6c225 100644 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -22,8 +22,8 @@ foreach($calendars as $calendar){ $eventSources[] = OC_Calendar_Calendar::getEventSourceInfo($calendar); } -$eventSources[] = array('url' => 'ajax/events.php?calendar_id=shared_rw', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable'=>'true'); -$eventSources[] = array('url' => 'ajax/events.php?calendar_id=shared_r', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable' => 'false'); +$eventSources[] = array('url' => '?app=calendar&getfile=ajax/events.php?calendar_id=shared_rw', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable'=>'true'); +$eventSources[] = array('url' => '?app=calendar&getfile=ajax/events.php?calendar_id=shared_r', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable' => 'false'); OC_Hook::emit('OC_Calendar', 'getSources', array('sources' => &$eventSources)); $categories = OC_Calendar_App::getCategoryOptions(); |