Add logic in declaring 'DOCUMENT_ROOT'