@@ -28,11 +28,11 @@ discard block |
||
| 28 | 28 | * |
| 29 | 29 | */ |
| 30 | 30 | |
| 31 | -require_once __DIR__ . '/lib/versioncheck.php'; |
|
| 31 | +require_once __DIR__.'/lib/versioncheck.php'; |
|
| 32 | 32 | |
| 33 | 33 | try { |
| 34 | 34 | |
| 35 | - require_once __DIR__ . '/lib/base.php'; |
|
| 35 | + require_once __DIR__.'/lib/base.php'; |
|
| 36 | 36 | if (\OCP\Util::needUpgrade()) { |
| 37 | 37 | // since the behavior of apps or remotes are unpredictable during |
| 38 | 38 | // an upgrade, return a 503 directly |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $pathInfo = trim($pathInfo, '/'); |
| 54 | 54 | list($service) = explode('/', $pathInfo); |
| 55 | 55 | } |
| 56 | - $file = \OC::$server->getConfig()->getAppValue('core', 'public_' . strip_tags($service)); |
|
| 56 | + $file = \OC::$server->getConfig()->getAppValue('core', 'public_'.strip_tags($service)); |
|
| 57 | 57 | if ($file === '') { |
| 58 | 58 | http_response_code(404); |
| 59 | 59 | exit; |
@@ -68,14 +68,14 @@ discard block |
||
| 68 | 68 | OC_App::loadApps(array('filesystem', 'logging')); |
| 69 | 69 | |
| 70 | 70 | if (!\OC::$server->getAppManager()->isInstalled($app)) { |
| 71 | - throw new Exception('App not installed: ' . $app); |
|
| 71 | + throw new Exception('App not installed: '.$app); |
|
| 72 | 72 | } |
| 73 | 73 | OC_App::loadApp($app); |
| 74 | 74 | OC_User::setIncognitoMode(true); |
| 75 | 75 | |
| 76 | - $baseuri = OC::$WEBROOT . '/public.php/' . $service . '/'; |
|
| 76 | + $baseuri = OC::$WEBROOT.'/public.php/'.$service.'/'; |
|
| 77 | 77 | |
| 78 | - require_once OC_App::getAppPath($app) . '/' . $parts[1]; |
|
| 78 | + require_once OC_App::getAppPath($app).'/'.$parts[1]; |
|
| 79 | 79 | |
| 80 | 80 | } catch (Exception $ex) { |
| 81 | 81 | $status = 500; |