fix errors like Failed opening required ownCloudcalendar/appinfo/remote.php

This commit is contained in:
Georg Ehrke 2012-07-26 16:03:19 +02:00
parent e4679770c4
commit c8de77b3fd

View file

@ -34,7 +34,7 @@ switch ($app) {
default:
OC_Util::checkAppEnabled($app);
OC_App::loadApp($app);
$file = OC_App::getAppPath($app) .'/'. $parts[1];
$file = '/' . OC_App::getAppPath($app) .'/'. $parts[1];
break;
}
$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';