title: How to add conditional CSS and JS to every page from a module?
body: <p>I am building a module that lets the administrator choose a number of optional CSS and JS files that should be included when every page is rendered.</p>
  
  <p>The function <a href="http://api.drupal.org/api/drupal/modules--system--system.api.php/function/hook_init/7" rel="nofollow">hook_init</a> seems to be the right place, but on the hook_init page it says that this is actually not the right way to do it:</p>
  
  <blockquote>
    <p>To add CSS or JS that should be present on all pages, modules should not implement this hook, but declare these files in their .info file.</p>
  </blockquote>
  
  <p>Does this not apply to my case, or is there a better way to do it?</p>