From: <gem...@li...> - 2011-11-28 15:20:07
|
Revision: 300 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=300&view=rev Author: michieltcs Date: 2011-11-28 15:20:01 +0000 (Mon, 28 Nov 2011) Log Message: ----------- Use getCurrentURI() method Modified Paths: -------------- trunk/library/classes/Gems/Default/IndexAction.php Modified: trunk/library/classes/Gems/Default/IndexAction.php =================================================================== --- trunk/library/classes/Gems/Default/IndexAction.php 2011-11-28 15:16:40 UTC (rev 299) +++ trunk/library/classes/Gems/Default/IndexAction.php 2011-11-28 15:20:01 UTC (rev 300) @@ -300,7 +300,7 @@ // Allow layout switching based on request base url if ($this->escort instanceof Gems_Project_Layout_MultiLayoutInterface) { - $hostUrl = $request->getScheme() . '://' . $request->getHttpHost() . $request->getBasePath(); + $hostUrl = $this->escort->loader->getUtil()->getCurrentURI(); $organizationId = $this->util->getDbLookup()->getOrganizationForUrl($hostUrl); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |