My $_SERVER['DOCUMENT_ROOT']  is pointing to /var/www while the project is in /home/user/workspace/project/frontend/www.