X-Git-Url: http://git.indexdata.com/?p=mkdru-moved-to-drupal.org.git;a=blobdiff_plain;f=mkdru.module;h=16442238ac630aa8f18d7b2d924b0ceaedc62ab1;hp=8158bb0604620da236dcd9ec4d2f0ae4ce349564;hb=368440f16fce179517479e3eed656aa5f5520dcb;hpb=9bb075c111afad0a4dc12d6b9bee8b21b532500c diff --git a/mkdru.module b/mkdru.module index 8158bb0..1644223 100644 --- a/mkdru.module +++ b/mkdru.module @@ -63,6 +63,17 @@ function mkdru_menu() { return $items; } +/** +* Implementation of hook_init() +*/ +function mkdru_init(){ + // Applies our module specific CSS to all pages. This works best because + // all CSS is aggregated and cached so we reduce the number of HTTP + // requests and the size is negligible. + drupal_add_css(drupal_get_path('module', 'mkdru') .'/mkdru-page.css'); +} + + // Node config /**