Fixing PHP current directory issues