phpFile & dataDir fixes