You are here

function site_verify_init in Site verification 6

Same name and namespace in other branches
  1. 7.2 site_verify.module \site_verify_init()
  2. 7 site_verify.module \site_verify_init()

Implements hook_init().

File

./site_verify.module, line 67

Code

function site_verify_init() {

  // Add the verification meta tags to the front page.
  if (drupal_is_front_page()) {
    $query = db_query("SELECT meta FROM {site_verify} WHERE meta <> ''");
    while ($meta = db_result($query)) {
      drupal_set_html_head($meta);
    }
  }
}