check whether PUBLIC_HTML constant exists or failover to DOCUMENT_ROOT