Undefined variable $host

Fix error Base.php(1120) : Undefined variable: host
Merge pull request #87 from barchard/patch-1

Undefined variable $host