function getdirections_ua_get in Get Directions 7.2
Same name and namespace in other branches
- 7.3 getdirections.module \getdirections_ua_get()
2 calls to getdirections_ua_get()
- getdirections_is_mobile in ./
getdirections.module - getdirections_settings_form in ./
getdirections.admin.inc - Function to display the getdirections admin settings form
File
- ./
getdirections.module, line 1876 - Fetches google map directions.
Code
function getdirections_ua_get() {
$default = array(
'ua_string' => "iphone|ipad|android|blackberry|blazer|bolt|symbian|mobile safari|fennec|gobrowser|iemobile|maemo browser|profile midp|minimo|kindle|opera mini|opera mobi|skyfire|teashark|uzardweb",
);
$getdirections_ua = variable_get('getdirections_ua', $default);
return $getdirections_ua;
}