Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (15 sloc) 417 Bytes
$uploaddir = '/tmp/'.rand().'/';
$uploadfile = $uploaddir.'';
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
if($zipFilename = getVersionsFromZip($uploadfile, $uploaddir)) {
header("Location: ".$zipFilename);
echo "All of your Addons are up to date.";
} else {
echo "Let's not and say we did.\n";
Jump to Line
Something went wrong with that request. Please try again.