fix remote.php

remotes/origin/stable4
Georg Ehrke 13 years ago
parent f69f764e8b
commit 5a264040d4
  1. 4
      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);

Loading…
Cancel
Save