/WebSVN/dl.php
50,7 → 50,7
// Create a temporary directory. Here we have an unavoidable but highly
// unlikely to occure race condition
 
if (count(glob("/tmp/wsvn*"))<2) // Omezeni na pocet soucasne stahovanych souboru
if (count(glob("/tmp/wsvn-*"))=<40) // Omezeni na pocet soucasne stahovanych souboru
{
$tmpname1 = tempnam("temp", "wsvn-");
$tmpname = $tmpname1;
112,6 → 112,6
}
else
{
print "We are sorry. Server is overloaded...";
print "We are sorry. The server is overloaded...";
}
?>