Commit 5c3b6b03 authored by lyricnz's avatar lyricnz
Browse files

Fix default geonames server

parent 2d2ff2a9
......@@ -13,7 +13,7 @@ function geonames_admin_settings() {
'#type' => 'textfield',
'#title' => t('URL to Geonames server to use.'),
'#description' => t('Example: http://ws.geonames.net (paid service) or http://api.geonames.org (free service) - without the trailing slash. You should always support developers of quality services. Increased performance is cheap, and you should afford it. Visit the !link page for more information', array('!link' => l(t('GeoNames Premium Webservices'), 'http://www.geonames.org/professional-webservices.html'))),
'#default_value' => variable_get('geonames_server', 'http://api.geonames.net'),
'#default_value' => variable_get('geonames_server', GEONAMES_FREE_SERVER_URL),
);
$form['geonames_username'] = array(
'#type' => 'textfield',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment