diff --git a/remote.php b/remote.php index 8461eea19ada063631ff64b7994aae570ce3d918..8dc4df1bd2317d1b19f25f70ce965d437775f202 100644 --- a/remote.php +++ b/remote.php @@ -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.'/';