/branches/ant/0.9.x/process.php/process.php |
---|
76,6 → 76,9 |
$DType = $secure->checkInt($_POST["dtype"]); |
$DLogo = 0; |
// debug on |
echo $_FILES["distlogo"]["type"].":".$_FILES["distlogo"]["tmp_name"]; |
if ($_POST["distlogo"]!="") { |
$folder = $picture.$DUA."-orig.png"; |
$folderN = $picture.$DUA.".png"; |
110,7 → 113,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"]; |
} |