/WebSVN/dl.php
50,6 → 50,8
// Create a temporary directory. Here we have an unavoidable but highly
// unlikely to occure race condition
 
if (count(glob("wsvn*"))<2) // Omezeni na pocet soucasne stahovanych souboru
{
$tmpname1 = tempnam("temp", "wsvn-");
$tmpname = $tmpname1;
$tmpname .= "dir";
107,5 → 109,10
@exec($cmd);
}
unlink($tmpname1); // Pomocny soubor smazeme az po smazani adresare
 
}
else
{
print "Sorry.";
print "Server is overloaded...";
}
?>