]> source.dussan.org Git - nextcloud-server.git/commitdiff
Quick fix of multi app migration. Need a better solution
authorBrice Maron <brice@bmaron.net>
Mon, 25 Jun 2012 17:33:24 +0000 (17:33 +0000)
committerBrice Maron <brice@bmaron.net>
Mon, 25 Jun 2012 17:37:30 +0000 (17:37 +0000)
remote.php

index 976012dea5ad3731a3fb5e10626ebb6886778ac0..e68a53800c7a5a6729e4327d6a516d9216c06a66 100644 (file)
@@ -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;