title: Code Igniter Force Download Relative Path
body: <p>I am using the download helper force_download.</p>
  
  <pre><code>function excel()
  {
      $data = file_get_contents("import_items.csv");
      $name = 'import_items.csv';
      force_download($name, $data);
  }
  </code></pre>
  
  <p>My question is is the path in file_get_contents relative to index.php (it appears to be). Is there a way to make it absolute (is there a CI function to get an absolute path)</p>
  
  <p>Thank you,</p>
  
  <p>Chris</p>