Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.