summaryrefslogtreecommitdiffstats
path: root/remote.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-13 21:45:24 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-13 21:46:34 +0200
commit3ce6eca40ab83270338778986dc9550c81b86187 (patch)
tree5459abbfb6ba8565895d4d1aadaf7e98dba32a0f /remote.php
parent3327aabe4d4f47ec6c2da5af7f2aea60f21f9a2e (diff)
downloadnextcloud-server-3ce6eca40ab83270338778986dc9550c81b86187.tar.gz
nextcloud-server-3ce6eca40ab83270338778986dc9550c81b86187.zip
fix fail in previous commit
Diffstat (limited to 'remote.php')
-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);
}