Current Site URL – Codeigniter

To get host url of current server simply replace

application\config\config.php

with