fix remote.php
This commit is contained in:
parent
f69f764e8b
commit
5a264040d4
|
@ -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…
Reference in New Issue