relative paths to images
Posted: Sun Mar 10, 2019 7:27 pm
Howdy
I'm wondering what is the easiest way to get relative urls of inserted images instead of absolute ones (domain prefix)?
I've found in init.php an entry
is it enough to comment this line?
I'm wondering what is the easiest way to get relative urls of inserted images instead of absolute ones (domain prefix)?
I've found in init.php an entry
Code: Select all
// TRUE to convert relatives images to absoultes, FALSE No changes apply
define('IMAGE_RELATIVE_TO_ABSOLUTE', $site->imageRelativeToAbsolute());