From: Brice Maron Date: Mon, 25 Jun 2012 17:33:24 +0000 (+0000) Subject: Quick fix of multi app migration. Need a better solution X-Git-Tag: v4.5.0beta1~74^2~403^2~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a52036f3efeed8e4ba0ab81c2b9a20bd07cda2d7;p=nextcloud-server.git Quick fix of multi app migration. Need a better solution --- diff --git a/remote.php b/remote.php index 976012dea5a..e68a53800c7 100644 --- a/remote.php +++ b/remote.php @@ -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;