]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix pathes of shared calendars
authorGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 18:13:55 +0000 (20:13 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 18:13:55 +0000 (20:13 +0200)
apps/calendar/index.php

index 66f51c97226ad62b4c0f3372b0a79b857474be02..417d2b6c22510b5abf7c583afb9d08ce61ef0761 100644 (file)
@@ -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();