> $live_site is supported... Just fill it in...

Yeah, apparently this is the only solution.  I looked through the code too,
and JURI is using HTTP_HOST, which won't exist in this case.  Seems as
though it could use SERVER_NAME or at least failover to it.

H

> > So for a site that isn't using name virtual hosting, I'm having issues
with
> > Joomla caching erroneous hostnames during link creation/etc.
> >
> > For example, if someone points badman.badplace.com to www.mysite.com and
> > happens to hit a page that hasn't been cached yet, the URLs generated
now
> > point to http://badman.badplace.com/some-url which is obviously a bad
thing.
> >
> > I understand that now $live_site variable isn't supported.  How can this
be
> > resolved?

_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to