2012-04-27, 07:01:39
yojoe Wrote:I found the thing I forgot to mention, after Shawn came up with calling suggest_site_path(true).
While adding images to content I was always deleting part of the url, and since I came across problems with my webhost, I had a ready to copy, modified basic.php file. Where among couple things I had a changed function suggest_site_path($parts=false) inside basic.php, which returned $path_parts in both cases.
Thus the returned link to img was always relative.
But this isn't a solution for a ready to migrate website. Now the only way is to bulk edit&replace strings in all pages xml files.
I'm terribly sorry for misleading.
Yeah i think that function is bugged, it doesn't actually return parts, it returns a string.
I am not sure what its supposed to do however.