Hello all,
I’m using fckeditor in my newsletter application but when I upload an image and send the mailing, the images appear broken because their source url appears without the domain name in the front of the url. I need for the image urls to be absolute.
So now they appear as: http://script_directory/system/data/user_uploads/1/Image/user/image.jpg
They should be: http://domain.com/script_directory/system/data/user_uploads/1/Image/user/image.jpg
Here’s my current php code … any suggestions?? Thank you
session_start();
$Config['UserFilesPath'] = $_SESSION['app']['Settings']['DataRelativePath'].'/user_uploads/'.$_SESSION['app']['Administrator']['AdministratorID'].'/';
Where in this piece of code should I enter my domain name??