Skip to content
Snippets Groups Projects
Commit a52036f3 authored by Brice Maron's avatar Brice Maron
Browse files

Quick fix of multi app migration. Need a better solution

parent f374dae2
Branches
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@ if (!$pos = strpos($path_info, '/', 1)) {
}
$service=substr($path_info, 1, $pos-1);
$file = OC_AppConfig::getValue('core', 'remote_' . $service);
$file = preg_replace('/apps\//','', $file); //Todo Remove after Multiappdir migration
if(is_null($file)){
OC_Response::setStatus(OC_Response::STATUS_NOT_FOUND);
exit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment