generate url dynamically

Review Request #3386 — Created Sept. 29, 2012 and submitted — Latest diff uploaded

Information

ReviewBot

Reviewers

generate url dynamically. This requires that the site name be set in the db because it is set to example.com by default

Also use findhostname() and AGENT