Don't run header() if headers_sent().