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