DrByte, There is a configure.php as you rightly say. I've spent too many hours staring at the screen, I think.
The hosting company, Telivo, have denied changing anything on relative paths but, as if by magic, since I complained on Monday it all works OK without your additional code.
I've put this one down to experience.



