php - JASFinder and CKEDITOR returning url -


i desparate answer somewhere else, hope somone can me here. using jasfinder uploader ckeditor in website.

i have 1 little big problem. using php connector , have set config.php below:

$config['userfilespath'] = site_url.'/gallery/' ;       

site_url constant http://127.0.0.1

the problem when select uploaded image jasfinder in ckeditor, path returned contains dot (.) @ beggining, have go image properties , remove dot url manually. returned url jasfinder ckeditor .http://127.0.0.1/gallery/file.jpg

i wondering if somone knows fix remove dot

ok, find soloution, hope others :p

open filemanager.jsin scripts folder of jasfinder, locate line number 509 find line of code:

        url : '.' + urldir + filename, 

the fix remove dot. iwll result:

        url : '' + urldir + filename, 

but! kcfinder better alternative jasfinder.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -