How do I get the $_SERVER['HTTP_HOST'] from within a Smarty Plugin?

Anyone know how to get this value from within the plugin. Every time I try the page breaks.
I am trying this:
return $protocol . "://" . $_SERVER['HTTP_HOST']

Thanks

Comments

Sign In or Register to comment.