summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/getcal.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/getcal.php')
-rwxr-xr-xapps/calendar/ajax/getcal.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/calendar/ajax/getcal.php b/apps/calendar/ajax/getcal.php
index 06ebebc83a0..702c0e057ba 100755
--- a/apps/calendar/ajax/getcal.php
+++ b/apps/calendar/ajax/getcal.php
@@ -17,8 +17,10 @@
* 59 Temple Place, Suite 330, Boston, *
* MA 02111-1307 USA *
*************************************************/
-require_once ("../../lib/base.php");
+require_once ("../../../lib/base.php");
if(!OC_USER::isLoggedIn()) {
die("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
}
+$output = new OC_TEMPLATE("calendar", "part.getcal");
+$output -> printpage();
?> \ No newline at end of file