Fix when project root is not '..'
Merge pull request #676 from richardhinkamp/fix-webprofiler-projectroot

Fix when project root is not '..'