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.js
in 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
Post a Comment