refactored constant SERVER_ROOT to DOCUMENT_ROOT