Can skin exposure to sunlight prevent liver inflammation?

Can skin exposure to sunlight prevent liver inflammation?