Arun Kumaravel Posted March 21, 2011 at 09:06 AM Share Posted March 21, 2011 at 09:06 AM Hi i have alter the mycontroller.php as said in docs switch($_SERVER['HTTP_HOST']) { case 'domain name': $this->Config->{'geomaps.google_key'} = 'googlekey'; break; case 'second domain name': $this->Config->{'geomaps.google_key'} = 'google key'; break; case 'third domain': $this->Config->{'geomaps.google_key'} = 'googlekey'; break; } But i could not make it work it is working only for the domain in the first case loop am i doing something wrong in coding Link to comment
Alejandro Posted March 21, 2011 at 01:22 PM Share Posted March 21, 2011 at 01:22 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts