summaryrefslogtreecommitdiffstats
path: root/remote.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 15:12:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-10-05 20:25:24 +0200
commitd9015a8c94bfd71fe484618a06d276701d3bf9ff (patch)
tree3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /remote.php
parentd357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff)
downloadnextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz
nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'remote.php')
-rw-r--r--remote.php10
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)) {