portsoc/linbeta — pull request #36 by tpunt (2014-10-23 19:52:20+00:00)
Title: Fixed broken links without hard-coding the name of the base directory

I'm not sure if this was the best way to go, but it works regardless of what the base directory is called. The only other way I can think of doing this is to chdir() each file to the base directory and then include from that base path (which may be the simpler alternative for a lot of local file includes in deeply nested directories).