Set Relative Path


#1

I moved my 1st site over and see that right now, the relative path is always from the root, not relative to the file making the call. There if I was in a sub folder, and I wanted to reference the image folder in that sub folder, I would have to reference the primary folder, then the sub folder, then the image folder.

Is there any way to set the relative path to be relative to the file that is calling it, and not the root?


#2

Relative path is the following:
./ is the current directory
…/ is the parent directory
…/images goes up one directory, and then down into the images directory

Hopefully you can integrate that in, assuming that something was previously set to “/” which is root.

-Scott