/home/aqcert/public_html/admin/tinymce/js/tinymce/plugins/filemanager
Edit: /home/aqcert/public_html/admin/tinymce/js/tinymce/plugins/filemanager/upload.php (2310B)
$image_max_width){
$resize=true;
$srcHeight=$image_max_width*$srcHeight/$srcWidth;
$srcWidth=$image_max_width;
}
if($image_max_height!=0 && $srcHeight >$image_max_height){
$resize=true;
$srcWidth =$image_max_height*$srcWidth/$srcHeight;
$srcHeight =$image_max_height;
}
if($resize)
create_img_gd($targetFile, $targetFile, $srcWidth, $srcHeight);
}
}
if(isset($_POST['submit'])){
$query = http_build_query(array(
'type' => $_POST['type'],
'lang' => $_POST['lang'],
'subfolder' => $_POST['subfolder'],
'popup' => $_POST['popup'],
'field_id' => $_POST['field_id'],
'editor' => $_POST['editor'],
'fldr' => $_POST['fldr'],
));
header("location: dialog.php?" . $query);
}
?>