Bannerupload broken in Joomla 1.0.11. A direct upload through the button "upload" in the components toolbar is not possible because the popup re-sets the directory to ''.
Reported on:
1.0.11
Affected functions:
Bannerupload of com_banner
Related files:
administrator/popups/uploadimage.php
Steps to replicate:
Adminpanel, click components, banners, manage banners, upload. Try to upload an image and open it with the banner-management.
Proposed fix(es):
administrator/popup/uploadimage.php, line 75 following, change
Code: Select all
if ( $directory != '' && !is_dir($mosConfig_absolute_path .'/images/stories/'. $directory)) {
$directory = '';
}
Code: Select all
if ( $directory != 'banners' && $directory != '' && !is_dir($mosConfig_absolute_path .'/images/stories/'. $directory)) {
$directory = '';
}
Joomla! 1.0.11 Stable [ Sunbow ] 28 August 2006 20:00 UTC