Implemented a pretty simple mime register
IF-42 #close Removed check for error_reporting != 0