diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-07 13:24:00 +0400 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-07 13:24:00 +0400 |
commit | 5a264040d4d27dfd8f754545fcbff980cc1a81f4 (patch) | |
tree | e59c5fd96f6805f249209619ecadc15cf816dc12 | |
parent | f69f764e8bd92d7d8eb10263eefcb6ee0d745d87 (diff) |
fix remote.php
-rw-r--r-- | remote.php | 4 |
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); |