Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-07 13:24:00 +0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-07 13:24:00 +0400
commit5a264040d4d27dfd8f754545fcbff980cc1a81f4 (patch)
treee59c5fd96f6805f249209619ecadc15cf816dc12 /remote.php
parentf69f764e8bd92d7d8eb10263eefcb6ee0d745d87 (diff)
fix remote.php
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);