function _responsive_favicons_unique_identifier in Responsive Favicons 7
Returns a short unique identifier for this Drupal installation.
Return value
An eight character string uniquely identifying this Drupal installation.
1 call to _responsive_favicons_unique_identifier()
- _responsive_favicons_extract_directory in ./
responsive_favicons.admin.inc - Returns the directory where update archive files should be extracted.
File
- ./
responsive_favicons.admin.inc, line 141 - Admin page callbacks for the responsive_favicons module.
Code
function _responsive_favicons_unique_identifier() {
$id =& drupal_static(__FUNCTION__, '');
if (empty($id)) {
$id = substr(hash('sha256', drupal_get_hash_salt()), 0, 8);
}
return $id;
}