]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix fail in previous commit
authorGeorg Ehrke <dev@georgswebsite.de>
Sun, 13 May 2012 19:45:24 +0000 (21:45 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Sun, 13 May 2012 19:46:34 +0000 (21:46 +0200)
remote.php

index e115fc5073b53010b2fe38d9729b2db7b0c90984..e93c2bf5c842560486c33e8b2f728d3685f7a362 100644 (file)
@@ -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);
 }