Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
committed by
Morris Jobke
parent
d357f4b10f
commit
d9015a8c94
+5
-5
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user