/branches/ant/0.9.x/process.php |
---|
76,10 → 76,6 |
$DType = $secure->checkInt($_POST["dtype"]); |
$DLogo = 0; |
// debug on |
phpinfo(); |
echo $_FILES["distlogo"]["type"].":".$_FILES["distlogo"]["tmp_name"]; |
if ($_FILES["distlogo"]["type"]!=0) { |
$folder = $picture.$DUA."-orig.png"; |
$folderN = $picture.$DUA.".png"; |
114,7 → 110,7 |
$r = $core->updateDistribution($ID, $DName, $DType, $DUA, $DLogo); |
if ($r["ERR"]==0) { |
//header("Location: ".$manager."\n\n"); |
header("Location: ".$manager."\n\n"); |
} else { |
echo $r["ERRINFO"]; |
} |