Clé pour géolocalisation

This commit is contained in:
Michael RICOIS 2011-10-25 13:30:18 +00:00
parent d6d01a13bd
commit d21012961f

View File

@ -159,7 +159,7 @@ Class GeolocalisationController extends Zend_Controller_Action
*/
public function googlePhoto()
{
$googleKey = geoLocalisationLib::getGoogleKey('extranet.sd.dev');
$googleKey = geoLocalisationLib::getGoogleKey($_SERVER['SERVER_NAME']);
$adress = array();
$request = $this->getRequest();
$info = $request->getParam('infos');