I recently updated my server to use SuPHP to increase security.
One downside is that I used to be able to include files from my other domains hosted on my server using absolute paths to the file. This doesn't work anymore.
The file in particular that I include from other domains is my functions file which is huge and used on all my websites. For the sake of maintainability, I've been including a central file rather than uploading the file to each server every time I make changes.
I thought that saving the functions file as plain text and using file_get_contents() across domains might be the right way to go. But apparently this doesn't work.
Is there a way to make it work?
Or is there some other whizz bang function that can help me achieve my goal?
Cheers.