diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-25 17:33:24 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-25 17:37:30 +0000 |
commit | a52036f3efeed8e4ba0ab81c2b9a20bd07cda2d7 (patch) | |
tree | e5a9947e92fad7753f1d5125ed5f4ec050bf9ad2 /remote.php | |
parent | f374dae233b3a4c970562d096514ba20e6d40bcc (diff) | |
download | nextcloud-server-a52036f3efeed8e4ba0ab81c2b9a20bd07cda2d7.tar.gz nextcloud-server-a52036f3efeed8e4ba0ab81c2b9a20bd07cda2d7.zip |
Quick fix of multi app migration. Need a better solution
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; |