getting rid of deprecated mime_content_type
check if constant already defined (Constant UTF8_MBSTRING already defined error)