diff options
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/remote.php b/remote.php index a81f7ba2c64..7354264b1f8 100644 --- a/remote.php +++ b/remote.php @@ -133,7 +133,7 @@ try { if (!$pos = strpos($pathInfo, '/', 1)) { $pos = strlen($pathInfo); } - $service=substr($pathInfo, 1, $pos-1); + $service = substr($pathInfo, 1, $pos - 1); $file = resolveService($service); @@ -141,10 +141,10 @@ try { throw new RemoteException('Path not found', 404); } - $file=ltrim($file, '/'); + $file = ltrim($file, '/'); - $parts=explode('/', $file, 2); - $app=$parts[0]; + $parts = explode('/', $file, 2); + $app = $parts[0]; // Load all required applications \OC::$REQUESTEDAPP = $app; @@ -153,7 +153,7 @@ try { switch ($app) { case 'core': - $file = OC::$SERVERROOT .'/'. $file; + $file = OC::$SERVERROOT .'/'. $file; break; default: if (!\OC::$server->getAppManager()->isInstalled($app)) { |