Project

General

Profile

« Previous | Next » 

Revision 1102

Added by Ruud over 15 years ago

Fixed a bug in the /admin/media resizer parameters for dirs with whitespaces
Fixed a bug in FCKeditor include.php. Now the editor can be used from other subdirectories than WB_PATH/modules/mymodule

View differences:

upload.php
50 50

  
51 51
// Create relative path of the target location for the file
52 52
$relative = WB_PATH.$target.'/';
53
$resizepath = str_replace('/','_',$target);
53
$resizepath = str_replace(array('/',' '),'_',$target);
54 54

  
55 55
// Find out whether we should replace files or give an error
56 56
if($admin->get_post('overwrite') != '') {

Also available in: Unified diff