This is a TNG 8 mod directive file %name:Google Maps API Multiple Keys% %version:v8.0.0-gts10-20100619% %description: Sets multiple Google Maps API keys. This mod file is edited to add a line for each host name with its corresponding map key. This modification must be reinstalled every time TNG Administration is used to change any map configuration setting. %target:mapconfig.php% %location:% ?> %end:% %insert:before% $mapkey[strtolower($_SERVER['HTTP_HOST'])] = $map['key'];//gts010 $mapkey['gsmall.us'] = "ABQIAAAA0Jb1t6Y0D4BGRR66fMsZABT1O7m4R-oyjR33MdPoc2gAmQmQWhTNLSi_B9NaKuORFhMRiLxUyiNQDg";//gts010 $mapkey['www.gsmall.us'] = "ABQIAAAA0Jb1t6Y0D4BGRR66fMsZABT1O7m4R-oyjR33MdPoc2gAmQmQWhTNLSi_B9NaKuORFhMRiLxUyiNQDg";//gts010 $mapkey['ohio.shnw.net'] = "ABQIAAAA0Jb1t6Y0D4BGRR66fMsZABSpYvjEGQ3blaA9bo6PvA8Jn0qOPxSuGjgWvDnzP1q2rGnG5p2opInVcg";//gts010 $map['key'] = $mapkey[strtolower($_SERVER['HTTP_HOST'])];//gts010 %end:%