75,7 → 75,11 |
$DUA = $secure->checkStr($_POST["dua"],1); |
$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"; |
110,7 → 114,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"]; |
} |