/WebSVN/filedetails.php
157,7 → 157,8
$url = $config->getURL($rep, $path, "blame");
$vars["blamelink"] = "<a href=\"${url}rev=$passrev&amp;sc=$showchanged\">${lang["BLAME"]}</a>";
 
$url = $config->getURL($rep, $path, "get");
#$url = $config->getURL($rep, $path, "get");
$url = $config->getURL($rep, $path, "file");
$vars["getfile"] = "<a href=\"${url}getfile&amp;rev=$passrev&amp;sc=$showchanged\">${lang["GETFILE"]}</a>";
 
$listing = array ();
/WebSVN/include/configclass.inc
863,7 → 863,8
break;
}
 
if ($rep == -1)
# if ($rep == -1)
if (!is_object($rep))
return $fname."?path=".urlencode($path)."&amp;";
else
return $fname."?repname=".urlencode($rep->getDisplayName())."&amp;path=".urlencode($path)."&amp;";