From 85831fd8f99182289bc5ca131c75da17e11106d2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 10 May 2009 16:21:27 +0000 Subject: [PATCH] This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged. --- htdocs/theme/eldy/fckeditor/fckconfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/theme/eldy/fckeditor/fckconfig.js b/htdocs/theme/eldy/fckeditor/fckconfig.js index ca77f726d24..1e3888b1201 100644 --- a/htdocs/theme/eldy/fckeditor/fckconfig.js +++ b/htdocs/theme/eldy/fckeditor/fckconfig.js @@ -1,4 +1,4 @@ -/* +/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2009 Frederico Caldeira Knabben * @@ -335,7 +335,7 @@ FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _Quic FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one -FCKConfig.ImageUpload = true ; +FCKConfig.ImageUpload = false ; // This is not required as there is already a second feature enabled to upload an image in FCKEditor and this second works works better since file is correctly stored in images directory. The other is redundant and bugged. FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ; FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one