Bläddra i källkod

fix remote.php for our favorite OS - Windows

tags/v4.5.0RC3
Georg Ehrke 11 år sedan
förälder
incheckning
a657bfa369
1 ändrade filer med 5 tillägg och 1 borttagningar
  1. 5
    1
      remote.php

+ 5
- 1
remote.php Visa fil

@@ -29,7 +29,11 @@ switch ($app) {
default:
OC_Util::checkAppEnabled($app);
OC_App::loadApp($app);
$file = '/' . OC_App::getAppPath($app) .'/'. $parts[1];
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$file = OC_App::getAppPath($app) .'/'. $parts[1];
}else{
$file = '/' . OC_App::getAppPath($app) .'/'. $parts[1];
}
break;
}
$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';

Laddar…
Avbryt
Spara