Browse Source

Quick fix of multi app migration. Need a better solution

tags/v4.5.0beta1
Brice Maron 12 years ago
parent
commit
a52036f3ef
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      remote.php

+ 2
- 0
remote.php View 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;

Loading…
Cancel
Save