You are here

function simplemeta_init in Simple Meta 6.2

Same name and namespace in other branches
  1. 7 simplemeta.module \simplemeta_init()

Implements hook_init()

File

./simplemeta.module, line 6

Code

function simplemeta_init() {
  if (user_access('administer simplemeta') && arg(0) != 'admin') {
    $modulepath = drupal_get_path('module', 'simplemeta');
    drupal_add_css($modulepath . '/css/simplemeta.css', 'module', 'all', FALSE);
    drupal_add_js($modulepath . '/js/simplemeta.js', 'module', 'header', FALSE, TRUE, FALSE);
  }
}