openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 05f07a5f1b50c4eb246e93816148add0f310f6cf
parent 106ef5c32f465652bb052cf9cf2c422ab7b19069
Author: dankert <devnull@localhost>
Date:   Fri, 19 Mar 2010 23:12:15 +0100

Fix: Upload-URL.

Diffstat:
themes/default/include/html/editor.inc.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/default/include/html/editor.inc.php b/themes/default/include/html/editor.inc.php @@ -93,7 +93,7 @@ switch( $attr_type ) array('TextColor','BGColor'), array('Source','-', 'ShowBlocks','Maximize') ); - $editor->config['filebrowserUploadUrl' ] = str_replace('&amp;','&',Html::url('filebrowser','upload','-',array(REQ_PARAM_TOKEN=>token(),'name'=>'upload'))); + $editor->config['filebrowserUploadUrl' ] = str_replace('&amp;','&',Html::url('filebrowser','directupload','-',array(REQ_PARAM_TOKEN=>token(),'name'=>'upload'))); $editor->config['filebrowserBrowseUrl' ] = str_replace('&amp;','&',Html::url('filebrowser','browse','-')); $editor->editor($attr_name,$$attr_name);