Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--remote.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/remote.php b/remote.php
index e115fc5073b..e93c2bf5c84 100644
--- a/remote.php
+++ b/remote.php
@@ -7,7 +7,6 @@ if (array_key_exists('PATH_INFO', $_SERVER)){
}else{
$path_info = substr($_SERVER['PHP_SELF'], strpos($_SERVER['PHP_SELF'], basename(__FILE__)) + strlen(basename(__FILE__)));
}
-$path_info = $_SERVER['PATH_INFO'];
if (!$pos = strpos($path_info, '/', 1)) {
$pos = strlen($path_info);
}