Quick fix of multi app migration. Need a better solution
This commit is contained in:
parent
f374dae233
commit
a52036f3ef
|
@ -16,6 +16,8 @@ if (!$pos = strpos($path_info, '/', 1)) {
|
||||||
}
|
}
|
||||||
$service=substr($path_info, 1, $pos-1);
|
$service=substr($path_info, 1, $pos-1);
|
||||||
$file = OC_AppConfig::getValue('core', 'remote_' . $service);
|
$file = OC_AppConfig::getValue('core', 'remote_' . $service);
|
||||||
|
$file = preg_replace('/apps\//','', $file); //Todo Remove after Multiappdir migration
|
||||||
|
|
||||||
if(is_null($file)){
|
if(is_null($file)){
|
||||||
OC_Response::setStatus(OC_Response::STATUS_NOT_FOUND);
|
OC_Response::setStatus(OC_Response::STATUS_NOT_FOUND);
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in New Issue