summaryrefslogtreecommitdiffstats
path: root/remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'remote.php')
-rw-r--r--remote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote.php b/remote.php
index ab5364aad6e..db2d1756f7a 100644
--- a/remote.php
+++ b/remote.php
@@ -9,8 +9,8 @@ if (!$pos = strpos($path_info, '/', 1)) {
$service=substr($path_info, 1, $pos-1);
$file = OCP\CONFIG::getAppValue('core', $service);
if(is_null($file)){
- header('HTTP/1.0 404 Not Found');
+ //header('HTTP/1.0 404 Not Found');
exit;
}
-$baseuri = '/remote.php/'.$service.'/';
+$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';
require_once(OC::$APPSROOT . $file);