From: Georg Ehrke Date: Sun, 13 May 2012 19:45:24 +0000 (+0200) Subject: fix fail in previous commit X-Git-Tag: v4.0.0RC2~87 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ce6eca40ab83270338778986dc9550c81b86187;p=nextcloud-server.git fix fail in previous commit --- 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); }