From 5a264040d4d27dfd8f754545fcbff980cc1a81f4 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 7 May 2012 11:24:00 +0200 Subject: [PATCH] fix remote.php --- remote.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remote.php b/remote.php index ab5364aad6..db2d1756f7 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);