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