summaryrefslogtreecommitdiffstats
path: root/lib/request.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/request.php')
-rw-r--r--lib/request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/request.php b/lib/request.php
index 10f6e91bac8..87262d98625 100644
--- a/lib/request.php
+++ b/lib/request.php
@@ -15,7 +15,7 @@ class OC_Request {
* reverse proxies
*/
public static function serverHost() {
- if(OC::$CLI){
+ if(OC::$CLI) {
return 'localhost';
}
if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
@@ -57,7 +57,7 @@ class OC_Request {
* @returns string Path info or false when not found
*/
public static function getPathInfo() {
- if (array_key_exists('PATH_INFO', $_SERVER)){
+ if (array_key_exists('PATH_INFO', $_SERVER)) {
$path_info = $_SERVER['PATH_INFO'];
}else{
$path_info = substr($_SERVER['REQUEST_URI'], strlen($_SERVER['SCRIPT_NAME']));