Changeset 54073 in spip-zone
- Timestamp:
- Nov 6, 2011, 8:32:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/gmapmxn/trunk/mapimpl/mxn/public/test_actif.php
r54062 r54073 15 15 16 16 include_spip('inc/gmap_config_utils'); 17 include_spip('inc/provider_caps'); 17 18 18 19 // Enregistrement des paramètres passés dans la requête 19 20 function mapimpl_mxn_public_test_actif_dist() 20 21 { 21 // TODO : tester si l'implémentation nécessite une clef et vérifier qu'elle est là 22 return true; 22 if (gmapmxn_hasCapability('key')) 23 { 24 $provider = gmap_lire_config('gmap_api_mxn', 'provider', "openlayers"); 25 $key = gmap_lire_config('gmap_api_mxn', 'provider_key_'.$provider, ""); 26 return (strlen($key) > 0) ? true : false; 27 } 28 else 29 return true; 23 30 } 24 31
Note: See TracChangeset
for help on using the changeset viewer.