switch back to DOCUMENT_ROOT method for content directory constants as per #3