Fixed "PHP Notice: Undefined index: HTTP_HOST"

If this file used in php.ini like that

auto_prepend_file = /path/to/header.php

Then in CLI mode appear Fixed "PHP Notice: Undefined index: HTTP_HOST" in .../header.php on line 109