Fix error in getting host value

Error: Use of undefined constant host - assumed 'host'

Added quotes to host while getting current URL