Hello,
Please at file:
{your site}/components/com_advertisementboard/advertisementboard.php
find rows 934, LOOK LIKE:
$file = $_FILES['new_image_file' . $i];
$code = guid();
$file_name = $code . '_' . $file['name'];
/* CHECK FOR UPLOAD ALLOWED UPLOAD EXTENSION AND MIME TYPE */
$ext = pathinfo($_FILES['new_upload_file' . $i]['name'], PATHINFO_EXTENSION);
replace to:
Code: |
$file = $_FILES['new_image_file' . $i];
$code = guid();
$file_name = $code . '_' . $file['name'];
/* CHECK FOR UPLOAD ALLOWED UPLOAD EXTENSION AND MIME TYPE */
$ext = pathinfo($_FILES['new_image_file' . $i]['name'], PATHINFO_EXTENSION);
|
Please take attension for "new_image_file"
Thanks,
OrdaSoft team