non security modules update
This commit is contained in:
@@ -1,19 +1,35 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
/**
|
||||
* @file
|
||||
* Drupal Module: GoogleAnalytics
|
||||
* Adds the required Javascript to the bottom of all your Drupal pages
|
||||
* to allow tracking by the Google Analytics statistics package.
|
||||
* Drupal Module: Google Analytics
|
||||
*
|
||||
* Adds the required Javascript to all your Drupal pages to allow tracking by
|
||||
* the Google Analytics statistics package.
|
||||
*
|
||||
* @author: Alexander Hass <http://drupal.org/user/85918>
|
||||
*/
|
||||
|
||||
define('GOOGLEANALYTICS_TRACKFILES_EXTENSIONS', '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls|xml|z|zip');
|
||||
/**
|
||||
* Define the default file extension list that should be tracked as download.
|
||||
*/
|
||||
define('GOOGLEANALYTICS_TRACKFILES_EXTENSIONS', '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip');
|
||||
|
||||
// Remove tracking from all administrative pages, see http://drupal.org/node/34970.
|
||||
/**
|
||||
* Define default path exclusion list to remove tracking from admin pages,
|
||||
* see http://drupal.org/node/34970 for more information.
|
||||
*/
|
||||
define('GOOGLEANALYTICS_PAGES', "admin\nadmin/*\nbatch\nnode/add*\nnode/*/*\nuser/*/*");
|
||||
|
||||
/**
|
||||
* Advertise the supported google analytics api details.
|
||||
*/
|
||||
function googleanalytics_api() {
|
||||
return array(
|
||||
'api' => 'analytics.js',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
*/
|
||||
@@ -88,19 +104,14 @@ function googleanalytics_page_alter(&$page) {
|
||||
'404 Not Found',
|
||||
);
|
||||
|
||||
// 1. Check if the GA account number has a value.
|
||||
// 1. Check if the GA account number has a valid value.
|
||||
// 2. Track page views based on visibility value.
|
||||
// 3. Check if we should track the currently active user's role.
|
||||
// 4. Ignore pages visibility filter for 404 or 403 status codes.
|
||||
if (!empty($id) && (_googleanalytics_visibility_pages() || in_array($status, $trackable_status_codes)) && _googleanalytics_visibility_user($user)) {
|
||||
if (preg_match('/^UA-\d+-\d+$/', $id) && (_googleanalytics_visibility_pages() || in_array($status, $trackable_status_codes)) && _googleanalytics_visibility_user($user)) {
|
||||
|
||||
// We allow different scopes. Default to 'header' but allow user to override if they really need to.
|
||||
$scope = variable_get('googleanalytics_js_scope', 'header');
|
||||
|
||||
if (variable_get('googleanalytics_trackadsense', FALSE)) {
|
||||
// Custom tracking. Prepend before all other JavaScript.
|
||||
drupal_add_js('window.google_analytics_uacct = ' . drupal_json_encode($id) . ';', array('type' => 'inline', 'group' => JS_LIBRARY-1));
|
||||
}
|
||||
$debug = variable_get('googleanalytics_debug', 0);
|
||||
$url_custom = '';
|
||||
|
||||
// Add link tracking.
|
||||
$link_settings = array();
|
||||
@@ -120,10 +131,23 @@ function googleanalytics_page_alter(&$page) {
|
||||
if ($track_cross_domains = variable_get('googleanalytics_cross_domains', '')) {
|
||||
$link_settings['trackCrossDomains'] = preg_split('/(\r\n?|\n)/', $track_cross_domains);
|
||||
}
|
||||
if ($track_url_fragments = variable_get('googleanalytics_trackurlfragments', 0)) {
|
||||
$link_settings['trackUrlFragments'] = $track_url_fragments;
|
||||
$url_custom = 'location.pathname + location.search + location.hash';
|
||||
}
|
||||
|
||||
if (!empty($link_settings)) {
|
||||
drupal_add_js(array('googleanalytics' => $link_settings), 'setting');
|
||||
drupal_add_js(drupal_get_path('module', 'googleanalytics') . '/googleanalytics.js');
|
||||
|
||||
// Add debugging code.
|
||||
if ($debug) {
|
||||
drupal_add_js(drupal_get_path('module', 'googleanalytics') . '/googleanalytics.debug.js');
|
||||
// Add the JS test in development to the page.
|
||||
//drupal_add_js(drupal_get_path('module', 'googleanalytics') . '/googleanalytics.test.js');
|
||||
}
|
||||
else {
|
||||
drupal_add_js(drupal_get_path('module', 'googleanalytics') . '/googleanalytics.js');
|
||||
}
|
||||
}
|
||||
|
||||
// Add messages tracking.
|
||||
@@ -140,15 +164,17 @@ function googleanalytics_page_alter(&$page) {
|
||||
// Track only the selected message types.
|
||||
if (in_array($type, $message_types)) {
|
||||
foreach ($messages as $message) {
|
||||
$message_events .= '_gaq.push(["_trackEvent", ' . drupal_json_encode(t('Messages')) . ', ' . drupal_json_encode($status_heading[$type]) . ', ' . drupal_json_encode(strip_tags($message)) . ']);';
|
||||
// @todo: Track as exceptions?
|
||||
$message_events .= 'ga("send", "event", ' . drupal_json_encode(t('Messages')) . ', ' . drupal_json_encode($status_heading[$type]) . ', ' . drupal_json_encode(strip_tags($message)) . ');';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Site search tracking support.
|
||||
$url_custom = '';
|
||||
if (module_exists('search') && variable_get('googleanalytics_site_search', FALSE) && arg(0) == 'search' && $keys = googleanalytics_search_get_keys()) {
|
||||
// hook_preprocess_search_results() is not executed if search result is
|
||||
// empty. Make sure the counter is set to 0 if there are no results.
|
||||
$url_custom = '(window.googleanalytics_search_results) ? ' . drupal_json_encode(url('search/' . arg(1), array('query' => array('search' => $keys)))) . ' : ' . drupal_json_encode(url('search/' . arg(1), array('query' => array('search' => 'no-results:' . $keys, 'cat' => 'no-results'))));
|
||||
}
|
||||
|
||||
@@ -174,70 +200,134 @@ function googleanalytics_page_alter(&$page) {
|
||||
$url_custom = '"/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer';
|
||||
}
|
||||
|
||||
// Add any custom code snippets if specified.
|
||||
$codesnippet_before = variable_get('googleanalytics_codesnippet_before', '');
|
||||
$codesnippet_after = variable_get('googleanalytics_codesnippet_after', '');
|
||||
|
||||
// Add custom variables.
|
||||
$googleanalytics_custom_vars = variable_get('googleanalytics_custom_var', array());
|
||||
// Add custom dimensions and metrics.
|
||||
$custom_var = '';
|
||||
for ($i = 1; $i < 6; $i++) {
|
||||
$custom_var_name = !empty($googleanalytics_custom_vars['slots'][$i]['name']) ? $googleanalytics_custom_vars['slots'][$i]['name'] : '';
|
||||
if (!empty($custom_var_name)) {
|
||||
$custom_var_value = !empty($googleanalytics_custom_vars['slots'][$i]['value']) ? $googleanalytics_custom_vars['slots'][$i]['value'] : '';
|
||||
$custom_var_scope = !empty($googleanalytics_custom_vars['slots'][$i]['scope']) ? $googleanalytics_custom_vars['slots'][$i]['scope'] : 3;
|
||||
foreach (array('dimension', 'metric') as $googleanalytics_custom_type) {
|
||||
$googleanalytics_custom_vars = variable_get('googleanalytics_custom_' . $googleanalytics_custom_type, array());
|
||||
// Are there dimensions or metrics configured?
|
||||
if (!empty($googleanalytics_custom_vars)) {
|
||||
// Add all the configured variables to the content.
|
||||
foreach ($googleanalytics_custom_vars as $googleanalytics_custom_var) {
|
||||
// Replace tokens in values.
|
||||
$types = array();
|
||||
$node = menu_get_object();
|
||||
if (is_object($node)) {
|
||||
$types += array('node' => $node);
|
||||
}
|
||||
$googleanalytics_custom_var['value'] = token_replace($googleanalytics_custom_var['value'], $types, array('clear' => TRUE));
|
||||
|
||||
$types = array();
|
||||
$node = menu_get_object();
|
||||
if (is_object($node)) {
|
||||
$types += array('node' => $node);
|
||||
// Suppress empty values.
|
||||
if (!drupal_strlen(trim($googleanalytics_custom_var['value']))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Per documentation the max length of a dimension is 150 bytes.
|
||||
// A metric has no length limitation. It's not documented if this
|
||||
// limit means 150 bytes after url encoding or before.
|
||||
// See https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#customs
|
||||
if ($googleanalytics_custom_type == 'dimension' && drupal_strlen($googleanalytics_custom_var['value']) > 150) {
|
||||
$googleanalytics_custom_var['value'] = substr($googleanalytics_custom_var['value'], 0, 150);
|
||||
}
|
||||
|
||||
// Cast metric values for json_encode to data type numeric.
|
||||
if ($googleanalytics_custom_type == 'metric') {
|
||||
settype($googleanalytics_custom_var['value'], 'float');
|
||||
};
|
||||
|
||||
// Add variables to tracker.
|
||||
$custom_var .= 'ga("set", ' . drupal_json_encode($googleanalytics_custom_type . $googleanalytics_custom_var['index']) . ', ' . drupal_json_encode($googleanalytics_custom_var['value']) . ');';
|
||||
}
|
||||
$custom_var_name = token_replace($custom_var_name, $types, array('clear' => TRUE));
|
||||
$custom_var_value = token_replace($custom_var_value, $types, array('clear' => TRUE));
|
||||
|
||||
// Suppress empty custom names and/or variables.
|
||||
if (!drupal_strlen(trim($custom_var_name)) || !drupal_strlen(trim($custom_var_value))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// The length of the string used for the 'name' and the length of the
|
||||
// string used for the 'value' must not exceed 128 bytes after url encoding.
|
||||
$name_length = drupal_strlen(rawurlencode($custom_var_name));
|
||||
$tmp_value = rawurlencode($custom_var_value);
|
||||
$value_length = drupal_strlen($tmp_value);
|
||||
if ($name_length + $value_length > 128) {
|
||||
// Trim value and remove fragments of url encoding.
|
||||
$tmp_value = rtrim(substr($tmp_value, 0, 127 - $name_length), '%0..9A..F');
|
||||
$custom_var_value = urldecode($tmp_value);
|
||||
}
|
||||
|
||||
$custom_var_name = drupal_json_encode($custom_var_name);
|
||||
$custom_var_value = drupal_json_encode($custom_var_value);
|
||||
$custom_var .= "_gaq.push(['_setCustomVar', $i, $custom_var_name, $custom_var_value, $custom_var_scope]);";
|
||||
}
|
||||
}
|
||||
|
||||
// Build tracker code.
|
||||
$script = 'var _gaq = _gaq || [];';
|
||||
$script .= '_gaq.push(["_setAccount", ' . drupal_json_encode($id) . ']);';
|
||||
if (variable_get('googleanalytics_tracker_anonymizeip', 0)) {
|
||||
// FIXME: The Google API is currently broken and "_gat._anonymizeIp" is only
|
||||
// a workaround until "_anonymizeIp" has been implemented/fixed.
|
||||
$script .= '_gaq.push(["_gat._anonymizeIp"]);';
|
||||
$script = '(function(i,s,o,g,r,a,m){';
|
||||
$script .= 'i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){';
|
||||
$script .= '(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),';
|
||||
$script .= 'm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)';
|
||||
$script .= '})(window,document,"script",';
|
||||
|
||||
// Which version of the tracking library should be used?
|
||||
$library_tracker_url = '//www.google-analytics.com/' . ($debug ? 'analytics_debug.js' : 'analytics.js');
|
||||
$library_cache_url = 'http:' . $library_tracker_url;
|
||||
|
||||
// Should a local cached copy of analytics.js be used?
|
||||
if (variable_get('googleanalytics_cache', 0) && $url = _googleanalytics_cache($library_cache_url)) {
|
||||
// A dummy query-string is added to filenames, to gain control over
|
||||
// browser-caching. The string changes on every update or full cache
|
||||
// flush, forcing browsers to load a new copy of the files, as the
|
||||
// URL changed.
|
||||
$query_string = '?' . variable_get('css_js_query_string', '0');
|
||||
|
||||
$script .= '"' . $url . $query_string . '"';
|
||||
}
|
||||
else {
|
||||
$script .= '"' . $library_tracker_url . '"';
|
||||
}
|
||||
$script .= ',"ga");';
|
||||
|
||||
// Add any custom code snippets if specified.
|
||||
$codesnippet_create = variable_get('googleanalytics_codesnippet_create', array());
|
||||
$codesnippet_before = variable_get('googleanalytics_codesnippet_before', '');
|
||||
$codesnippet_after = variable_get('googleanalytics_codesnippet_after', '');
|
||||
|
||||
// Build the create only fields list.
|
||||
$create_only_fields = array('cookieDomain' => 'auto');
|
||||
$create_only_fields = array_merge($create_only_fields, $codesnippet_create);
|
||||
|
||||
// Domain tracking type.
|
||||
global $cookie_domain;
|
||||
$domain_mode = variable_get('googleanalytics_domain_mode', 0);
|
||||
$googleanalytics_adsense_script = '';
|
||||
|
||||
// Per RFC 2109, cookie domains must contain at least one dot other than the
|
||||
// first. For hosts such as 'localhost' or IP Addresses we don't set a cookie domain.
|
||||
if ($domain_mode == 1 && count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) {
|
||||
$script .= '_gaq.push(["_setDomainName", ' . drupal_json_encode($cookie_domain) . ']);';
|
||||
$create_only_fields = array_merge($create_only_fields, array('cookieDomain' => $cookie_domain));
|
||||
$googleanalytics_adsense_script .= 'window.google_analytics_domain_name = ' . drupal_json_encode($cookie_domain) . ';';
|
||||
}
|
||||
elseif ($domain_mode == 2) {
|
||||
$script .= '_gaq.push(["_setDomainName", "none"]);';
|
||||
$script .= '_gaq.push(["_setAllowLinker", true]);';
|
||||
// Cross Domain tracking. 'autoLinker' need to be enabled in 'create'.
|
||||
$create_only_fields = array_merge($create_only_fields, array('allowLinker' => TRUE));
|
||||
$googleanalytics_adsense_script .= 'window.google_analytics_domain_name = "none";';
|
||||
}
|
||||
|
||||
// Track logged in users across all devices.
|
||||
if (variable_get('googleanalytics_trackuserid', 0) && user_is_logged_in()) {
|
||||
// The USER_ID value should be a unique, persistent, and non-personally
|
||||
// identifiable string identifier that represents a user or signed-in
|
||||
// account across devices.
|
||||
$create_only_fields['userId'] = drupal_hmac_base64($user->uid, drupal_get_private_key() . drupal_get_hash_salt());
|
||||
}
|
||||
|
||||
// Create a tracker.
|
||||
$script .= 'ga("create", ' . drupal_json_encode($id) . ', ' . drupal_json_encode($create_only_fields) .');';
|
||||
|
||||
// Prepare Adsense tracking.
|
||||
$googleanalytics_adsense_script .= 'window.google_analytics_uacct = ' . drupal_json_encode($id) . ';';
|
||||
|
||||
// Add enhanced link attribution after 'create', but before 'pageview' send.
|
||||
// @see https://support.google.com/analytics/answer/2558867
|
||||
if (variable_get('googleanalytics_tracklinkid', 0)) {
|
||||
$script .= 'ga("require", "linkid", "linkid.js");';
|
||||
}
|
||||
|
||||
// Add display features after 'create', but before 'pageview' send.
|
||||
// @see https://support.google.com/analytics/answer/2444872
|
||||
if (variable_get('googleanalytics_trackdoubleclick', 0)) {
|
||||
$script .= 'ga("require", "displayfeatures");';
|
||||
}
|
||||
|
||||
// Domain tracking type.
|
||||
if ($domain_mode == 2) {
|
||||
// Cross Domain tracking
|
||||
// https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs#cross-domain
|
||||
$script .= 'ga("require", "linker");';
|
||||
$script .= 'ga("linker:autoLink", ' . drupal_json_encode($link_settings['trackCrossDomains']) . ');';
|
||||
}
|
||||
|
||||
if (variable_get('googleanalytics_tracker_anonymizeip', 1)) {
|
||||
$script .= 'ga("set", "anonymizeIp", true);';
|
||||
}
|
||||
|
||||
if (!empty($custom_var)) {
|
||||
@@ -246,12 +336,11 @@ function googleanalytics_page_alter(&$page) {
|
||||
if (!empty($codesnippet_before)) {
|
||||
$script .= $codesnippet_before;
|
||||
}
|
||||
if (empty($url_custom)) {
|
||||
$script .= '_gaq.push(["_trackPageview"]);';
|
||||
}
|
||||
else {
|
||||
$script .= '_gaq.push(["_trackPageview", ' . $url_custom . ']);';
|
||||
if (!empty($url_custom)) {
|
||||
$script .= 'ga("set", "page", ' . $url_custom . ');';
|
||||
}
|
||||
$script .= 'ga("send", "pageview");';
|
||||
|
||||
if (!empty($message_events)) {
|
||||
$script .= $message_events;
|
||||
}
|
||||
@@ -259,45 +348,14 @@ function googleanalytics_page_alter(&$page) {
|
||||
$script .= $codesnippet_after;
|
||||
}
|
||||
|
||||
$script .= '(function() {';
|
||||
$script .= 'var ga = document.createElement("script");';
|
||||
$script .= 'ga.type = "text/javascript";';
|
||||
$script .= 'ga.async = true;';
|
||||
|
||||
// Which version of the tracking library should be used?
|
||||
if ($trackdoubleclick = variable_get('googleanalytics_trackdoubleclick', FALSE)) {
|
||||
$library_tracker_url = 'stats.g.doubleclick.net/dc.js';
|
||||
$library_cache_url = 'http://' . $library_tracker_url;
|
||||
}
|
||||
else {
|
||||
$library_tracker_url = '.google-analytics.com/ga.js';
|
||||
$library_cache_url = 'http://www' . $library_tracker_url;
|
||||
if (variable_get('googleanalytics_trackadsense', FALSE)) {
|
||||
// Custom tracking. Prepend before all other JavaScript.
|
||||
// @TODO: https://support.google.com/adsense/answer/98142
|
||||
// sounds like it could be appended to $script.
|
||||
drupal_add_js($googleanalytics_adsense_script, array('type' => 'inline', 'group' => JS_LIBRARY-1));
|
||||
}
|
||||
|
||||
// Should a local cached copy of ga.js be used?
|
||||
if (variable_get('googleanalytics_cache', 0) && $url = _googleanalytics_cache($library_cache_url)) {
|
||||
// A dummy query-string is added to filenames, to gain control over
|
||||
// browser-caching. The string changes on every update or full cache
|
||||
// flush, forcing browsers to load a new copy of the files, as the
|
||||
// URL changed.
|
||||
$query_string = '?' . variable_get('css_js_query_string', '0');
|
||||
|
||||
$script .= 'ga.src = "' . $url . $query_string . '";';
|
||||
}
|
||||
else {
|
||||
// Library paths do not follow the same naming convention.
|
||||
if ($trackdoubleclick) {
|
||||
$script .= 'ga.src = ("https:" == document.location.protocol ? "https://" : "http://") + "' . $library_tracker_url . '";';
|
||||
}
|
||||
else {
|
||||
$script .= 'ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + "' . $library_tracker_url . '";';
|
||||
}
|
||||
}
|
||||
$script .= 'var s = document.getElementsByTagName("script")[0];';
|
||||
$script .= 's.parentNode.insertBefore(ga, s);';
|
||||
$script .= '})();';
|
||||
|
||||
drupal_add_js($script, array('scope' => $scope, 'type' => 'inline'));
|
||||
drupal_add_js($script, array('scope' => 'header', 'type' => 'inline'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -382,13 +440,7 @@ function googleanalytics_user_presave(&$edit, $account, $category) {
|
||||
function googleanalytics_cron() {
|
||||
// Regenerate the tracking code file every day.
|
||||
if (REQUEST_TIME - variable_get('googleanalytics_last_cache', 0) >= 86400 && variable_get('googleanalytics_cache', 0)) {
|
||||
// Which version of the tracking library should be used?
|
||||
if (variable_get('googleanalytics_trackdoubleclick', FALSE)) {
|
||||
_googleanalytics_cache('http://stats.g.doubleclick.net/dc.js', TRUE);
|
||||
}
|
||||
else {
|
||||
_googleanalytics_cache('http://www.google-analytics.com/ga.js', TRUE);
|
||||
}
|
||||
_googleanalytics_cache('http://www.google-analytics.com/analytics.js', TRUE);
|
||||
variable_set('googleanalytics_last_cache', REQUEST_TIME);
|
||||
}
|
||||
}
|
||||
@@ -399,11 +451,13 @@ function googleanalytics_cron() {
|
||||
* Collects and adds the number of search results to the head.
|
||||
*/
|
||||
function googleanalytics_preprocess_search_results(&$variables) {
|
||||
// There is no search result $variable available that hold the number of items
|
||||
// found. But the pager item mumber can tell the number of search results.
|
||||
global $pager_total_items;
|
||||
if (variable_get('googleanalytics_site_search', FALSE)) {
|
||||
// There is no search result $variable available that hold the number of items
|
||||
// found. But the pager item mumber can tell the number of search results.
|
||||
global $pager_total_items;
|
||||
|
||||
drupal_add_js('window.googleanalytics_search_results = ' . intval($pager_total_items[0]) . ';', array('type' => 'inline', 'group' => JS_LIBRARY-1));
|
||||
drupal_add_js('window.googleanalytics_search_results = ' . intval($pager_total_items[0]) . ';', array('type' => 'inline', 'group' => JS_LIBRARY-1));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -428,16 +482,16 @@ function googleanalytics_search_get_keys() {
|
||||
*
|
||||
* @param $location
|
||||
* The full URL to the external javascript file.
|
||||
* @param $sync_cached_file
|
||||
* Synchronize tracking code and update if remote file have changed.
|
||||
* @param $synchronize
|
||||
* Synchronize to local cache if remote file has changed.
|
||||
* @return mixed
|
||||
* The path to the local javascript file on success, boolean FALSE on failure.
|
||||
*/
|
||||
function _googleanalytics_cache($location, $sync_cached_file = FALSE) {
|
||||
function _googleanalytics_cache($location, $synchronize = FALSE) {
|
||||
$path = 'public://googleanalytics';
|
||||
$file_destination = $path . '/' . basename($location);
|
||||
|
||||
if (!file_exists($file_destination) || $sync_cached_file) {
|
||||
if (!file_exists($file_destination) || $synchronize) {
|
||||
// Download the latest tracking code.
|
||||
$result = drupal_http_request($location);
|
||||
|
||||
|
Reference in New Issue
Block a user