fix record for use record_exception and remove no-warning for config.php include